output is :
-9-11-13-15

first j=19222 then
find(19222)=find(1922)-2
find(1922)=find(192)-2
find(192)=find(19)-2
find(19)=find(1)-9

find(1) returns 0  then
find(19)=0-9=-9
find(192)=-9-2=-11
find(1922)=-11-2=-13
find(19222)=-13-2=-15

-- 
You received this message because you are subscribed to the Google Groups 
"Algorithm Geeks" group.
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