A = 0, 1, 4, 5, 9, 11, 20
B = 0, 2, 3, 6, 8, 13, 15

(20, 15)  (20, 15) -> (20,15)
(20,13)   (11,15)  -> (20,13)
(20,8)     (11,15)  -> (20,8)
(20,6)     (11,15)  -> assume (20,6)
(20,3)     (11,15)  -> (11,15)
(20,3)     (9,15)    -> (9,15)
(20,3)     (5,15)    -> (20,3)  .....problem (11,13) has higher value but

did i missed something ??

-- 
Sunny Aggrawal
B-Tech IV year,CSI
Indian Institute Of Technology,Roorkee

-- 
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