.,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

Do you think cars with no steering wheels or pedals are safe for the road?

Discuss in The Lounge

Poll History