1 test case has failed https://ide.codingblocks.com/s/218140
Help rahul to search
hello @vanisinghal0201 ,
![]()
dont put -1 anywhere. use some boolean variable to check whether key is found of not .
if it is found then no need to print -1.
otherwise print -1.