Hi Karthik,
You say "i am not sure abt this can you set the last bit alone in an array of size 4 using only 3 ones(just try it and you will get the trouble, u will need 4 ones is my hunch )"
 
I think we have to clarify the question first!
"The question is not asking to set "only" the last bit! You have to set the last bit... But you can have any number of other bits set"
 
Regards,
Prunthaban
 
PS: If the question is to set "only" the last bit... my hunch is that "It has no solution" (But... not sure... need to do some analysis)
 
 

Reply via email to