top button
Flag Notify
    Connect to us
      Site Registration

Site Registration

How to find an element index in an unsorted array without using linear search?

+1 vote
316 views

Someone asked me this question and I dont have any answer, so thought to ask?

posted Aug 6, 2014 by Kuldeep Apte

Looking for an answer?  Promote on:
Facebook Share Button Twitter Share Button LinkedIn Share Button

Similar Questions
+1 vote

Given an unsorted array of elements I want to findout the Kth smallest element in the array. Can someone help me with the approach and code.

+5 votes

Given an unsorted array, find the max length of subsequence in which the numbers are in incremental order.

For example: If the input array is {7, 2, 3, 1, 5, 8, 9, 6}, a subsequence with the most numbers in incremental order is {2, 3, 5, 8, 9} and the expected output is 5.

...