.,i am looking for a progam of unsorted binary search using a String and Character.,can i ask for a sample program??thank and godbless!

If not sorted how will the binary search make a decision for the next item. The only method that can search an unsorted list is a sequential one.

There are a variety of searching functions that are faster than a sequential search, but they ALL require that the list is in a known and consistent order. If even one item is out of order the results of a binary search will be unpredictable. In this case the ONLY choice is a simple sequential search.

Ask Your Question

Weekly Poll

Would you ride in a self-driving car from Tesla?

Discuss in The Lounge

Poll History