@sravan . u missed man ..read again what i said , u r calculating 3^a[i] , where is 3 comes in to picture , no array has has 3 ?? correct , its should be 2^a[i] , then we search 2 in 2nd array if found 2 the go ahead, read the algo suggested above , its should work . let me know whats your confusion ?
@all, Guys have a look it should work isn't it ? 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/-/0OYGXVv9GfcJ. 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.