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
This topic is locked: you cannot edit posts or make replies. How to search multiple strings in a PDS IBM Tools 3
No new posts How to search multiple members of a P... JCL & VSAM 13
No new posts Members search in PDS JCL & VSAM 9
No new posts RegEX search in ISPF editor TSO/ISPF 4
No new posts ISPF search - capturing result TSO/ISPF 15
Search our Forums:

Back to Top