Akamai Interview Report
- 0of 0 votes
Answersyou have given a function rand(3) which when called returns values 1,2,3 with equal probability. Derive a function rand(9) using rand(3) which returns values 1 to 9 with equal probability.
- Koustubh August 10, 2012 in India| Report Duplicate | Flag | PURGE
Akamai Software Engineer / Developer Algorithm - 0of 0 votes
Answersu have an array of n integers. rotate it left by k positions. time complexity linear.
- Koustubh August 10, 2012 in India
without using extra array.| Report Duplicate | Flag | PURGE
Akamai Software Engineer / Developer Arrays - 0of 0 votes
Answersu have a video file. the user watches some part of it. he may seek forward, backwards or watch same part again and again. you have given the intervals which he watched. find the fraction of the video he watched.
- Koustubh August 10, 2012 in India
for e.g. 1-7, 10 -15, 5-11, 20-25 with total length of video being 50.
ans should be 2/5 or 0.4| Report Duplicate | Flag | PURGE
Akamai Software Engineer / Developer Algorithm
CareerCup is the world's biggest and best source for software engineering interview preparation. See all our resources.