@Lucky sorry for delay, I am saying compelxity will be number if bits 
required to represent quioutent , i think you just try with exmple i have 
given 
@Dave  I didn't See The Whole Code but i think Logic Will Remain The Same.i 
Think You forgot to give algorithm :P
also we can reduce the line of source codes, i mean we merge some of the 
steps , will post later an recursive solution for the same




*Thanks
Shashank Mani 
Computer Science
Birla Institute of Technology Mesra*

-- 
You received this message because you are subscribed to the Google Groups 
"Algorithm Geeks" group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/algogeeks/-/6-7Rrl-UzdkJ.
To post to this group, send email to algogeeks@googlegroups.com.
To unsubscribe from this group, send email to 
algogeeks+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/algogeeks?hl=en.

Reply via email to