Adobe Interview Report
- 0of 0 votes
AnswersThere is a circle enclosed in a square,such that it is touching all the four sides of the square. In the top left space between square and the circle, there is a rectangle with length 14 and breadth 7, such that top left corner of the rect is the top-left corner of square and bottom right corner lies on the circumference of the circle. What is the radius of the circle?
- CuriousMe March 19, 2011| Report Duplicate | Flag | PURGE
Adobe Software Engineer / Developer Brain Teasers - 0of 0 votes
AnswersThere is a 2X4 matrix, in this you are supposed to arrange the numbers from 1-8, so that no consecutive numbers are adjacent(vertically, horizontally and diagonally) to each other. It is possible to do if one keeps on trying it randomly but it can be done with an intelligent approach too. What would that be?
- CuriousMe March 19, 2011| Report Duplicate | Flag | PURGE
Adobe Software Engineer / Developer Brain Teasers - 0of 0 votes
AnswersA frog has to cross a river. There are n rocks in the river, using which the frog can leap across the river. On its way across the river the frog can chose to skip a rock, but it cannot skip two consecutive rocks because that would be two far a distance for the frog to hop, also the from would not skip the first rock and the last rock. E.g. if there are 3 rocks, 1,2,3 and 4, there could be three following routes it could take:
- CuriousMe March 19, 2011
1,2,3,4
1,2,3,4
1,3,4
1,2,4
Write a recursive algorithm, that takes a number of rocks' and prints all the feasible paths. Ofcourse there can be other arguments too.| Report Duplicate | Flag | PURGE
Adobe Software Engineer / Developer Algorithm