Thoughtworks Interview Experience | coding round
Round 1: coding question
We have an array filled with integers. now we need to start from a index and move in any of left, right, up or down if the difference between the v alues is 1, for each move we need to give a point to the index we started. now we need to return the index will have maximum number of moves which is possible starting at a index.we can keep moving from an index to next only if difference between the values of them is 1.
Please Login to comment...