IBM Mainframe Forum Index
 
Log In
 
IBM Mainframe Forum Index Mainframe: Search IBM Mainframe Forum: FAQ Register
 

binary search


IBM Mainframe Forums -> COBOL Programming
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
padmaraghav

New User


Joined: 17 Dec 2003
Posts: 2

PostPosted: Fri Dec 19, 2003 10:30 pm
Reply with quote

why duplication of records is not possible when we perform binary search
Back to top
View user's profile Send private message
kavik

New User


Joined: 02 Jan 2004
Posts: 1

PostPosted: Fri Jan 02, 2004 2:54 pm
Reply with quote

The most logical reason why duplicates are not allowed while performing a binary search could be beacuse binary search works by splitting the table entries into halves till the search item is found. When a duplicate occurs at the center of the table, it wouldnt know which half to pick up for further searches.
Back to top
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic View Bookmarks
All times are GMT + 6 Hours
Forum Index -> COBOL Programming

 


Similar Topics
Topic Forum Replies
No new posts Search two or more word with FILEAID Compuware & Other Tools 15
No new posts Sortjoin and Search for a String and ... DFSORT/ICETOOL 1
No new posts first column truncated in search result IBM Tools 13
No new posts ISRSUPC search utility - using high l... TSO/ISPF 2
No new posts To search DB2 table based on Conditio... DB2 1
Search our Forums:

Back to Top