@sravan i didn't get how my approach will fail , can u check for the exmple 
u said ? if u sum the 1st array using 2 as base then sum will be 3 
(exculding 2 , although it won't metter )  , then u search that elemnt in 
2nd array , u  won;t find & u return -1 , say these array are not similer .


correct me if i got wrong ?

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/-/6DQ6oKWebh4J.
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