Flipkart Interview Report
- 1of 1 vote
AnswersGenerate all Kaprekar Number (refer Wiki for Kaprekar number's definition) from 1 to 999999.
- hulk April 26, 2014 in India
I gave a brute force approach of generating all number in the range and checking if it is Kaprekar or not.| Report Duplicate | Flag | PURGE
Flipkart SDE-2 Algorithm Brain Teasers - 0of 0 votes
AnswersGiven an array of positive numbers, find the maximum sum of a subsequence with the constraint that no 2 numbers in the sequence should be adjacent in the array.
- hulk April 26, 2014 in India
You have to print the sub-sequence also.| Report Duplicate | Flag | PURGE
Flipkart SDE-2 Algorithm
CareerCup is the world's biggest and best source for software engineering interview preparation. See all our resources.