Loading collection data...
Collections are a way for you to organize kata so that you can create your own training routines. Every collection you create is public and automatically sharable with other warriors. After you have added a few kata to a collection you and others can train on the kata contained within the collection.
Get started now by creating a new collection.
my bad........i was thinking what's going wrong lol :)
/src/main/java/SumOfK.java:3: error: cannot find symbol
public static Integer chooseBestSum(int t, int k, List ls) {
^
symbol: class List
location: class SumOfK
1 error
this is in Java 8 and 11 both i tried.....whose mistake mine or the editor ? code is working fine in my IDE.
Lol i was using pure maths and now i see people use pre func.....this question took me 2hr damn....just because of ( .toInt() ) in ( arr[i] = (m%10).toInt() )
This question lacks full information.....so people had to think themselves insted of writing.So, should ask to the point solution.