106 Binary Search

177 views
Skip to first unread message

moocso...@gmail.com

unread,
Aug 10, 2015, 7:47:59 AM8/10/15
to mooc.fi
Hi,

I'm having problems with week 6 exercise 106.

Can someone help me to find a way to get the solution ? I don't know what I'm doing wrong.. I found a solution but it's not entirely correct

Best regards


Supported languages are English and Finnish

Please use our build in TMC Pastebin when asking questions related to your code  
 
TMC Plugin has built-in code sharing feature. 
In NetBeans, select TMC -> Send code to TMC pastebin. Copy the link you receive and paste it to your message.  

You may use our web interface to share code snippets: http://paste.mooc.fi

Juho Leinonen

unread,
Aug 11, 2015, 4:32:17 AM8/11/15
to mooc.fi, moocso...@gmail.com

Hey,

On lines 26 and 28 where you call the Bsearch method recursively, you never save the result of the recursive call.

Best regards,
Juho
Reply all
Reply to author
Forward
0 new messages