hasinamjanu
BAN USER
Questions (6)
Comments (4)
Reputation 50
- 0of 0 votes
Answershow to implement stack using BST??
- hasinamjanu in India| Report Duplicate | Flag | PURGE
Samsung Developer Program Engineer - 0of 0 votes
AnswersAn array having 100 elements have numbers from 1 to 99 randomly out of which any one number is repeated. I was asked to find repeated number in min time nd space complexity.
- hasinamjanu in India| Report Duplicate | Flag | PURGE
Hewlett Packard Software Engineer / Developer
Page:
1
Comment hidden because of low score. Click to expand.
Comment hidden because of low score. Click to expand.
0
of 0 vote
its fine...but what if we are asked to find index of the repeated elements.
- hasinamjanu September 19, 2011Comment hidden because of low score. Click to expand.
0
of 0 vote
@Ayad:This is nt working dude....check if array size 5...i.e n=5.....and array elements are 1 2 2 3 4..it should return 2....but according 2 ur logic it returns 3.
- hasinamjanu September 19, 2011Comment hidden because of low score. Click to expand.
2
of 6 vote
i think it should be sum-(1+99)*99/2
- hasinamjanu September 18, 2011Page:
1
CareerCup is the world's biggest and best source for software engineering interview preparation. See all our resources.
Extract all d digits of a given,store it in an array sort d array in desc orer .
- hasinamjanu September 19, 2011