0

Given a list L(unsorted)find all the sublist items of which add to given number S

For example L=[1,2,3,4] S=6, output should be like [1,2,3][2,4]

29th Feb 2020, 5:15 AM
Abhidarsh Arun
Abhidarsh Arun - avatar
1 Answer