LendingKart Interview Report
- 2of 2 votes
AnswerA dictionary is combination of characters from a-z. let's say a=1,b=2.. and so on z=26. you are given n and k. you have to find sum of length k from given combination.
- acharyashailendra1 August 21, 2019 in India
for example n=51 and k=3 then your answer should be =axz
as there can be many combination for given sum so it is suggested to print those string which comes first in dictonary| Report Duplicate | Flag | PURGE
LendingKart SDE-2 Data Structures - 1of 1 vote
Answersbeautiful numbers are those numbers which contains digit only 4 and 5 also they are palindrome.length of number can't be odd. for example
- acharyashailendra1 August 21, 2019 in India
44,55,4554 are beautiful numbers where as 38, 444 are not.
your task is to find nth number in this series. let's say if n=4 then output should be 4554. for n=1 output will be 44 always.| Report Duplicate | Flag | PURGE
LendingKart SDE-2 Data Structures
CareerCup is the world's biggest and best source for software engineering interview preparation. See all our resources.