Your question is very unclear, but one problem I see with your code is that you are using BINARY SEARCH but then also just appending an entry to the table. How are you keeping the table sorted?
↧
Your question is very unclear, but one problem I see with your code is that you are using BINARY SEARCH but then also just appending an entry to the table. How are you keeping the table sorted?