Showing posts with label SAMSUNG. Show all posts
Showing posts with label SAMSUNG. Show all posts

Find an index i such that Arr [i] = i in array of n distinct integers sorted in ascending order.

Given an array of n distinct integers sorted in ascending order, write a function that returns a Fixed Point in the array such that Arr[i] = i .
If there is any Fixed Point present in array, else returns -1.
Note that integers in array can be negative.

Job SAMSUNG @Bangalore

There are several openings for 1-12 years at SAMSUNG
Go through them