Koustubh
BAN USER
Questions (3)
Reputation 10
- 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 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 - 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 in India| Report Duplicate | Flag | PURGE
Akamai Software Engineer / Developer Algorithm
Page:
1
Page:
1
CareerCup is the world's biggest and best source for software engineering interview preparation. See all our resources.