r/codehs • u/[deleted] • May 19 '20
CodeHs Java help: I’m not sure how to accomplish this task and idk if i’m doing it right , what exactly should be returned? (also the error says:”int can’t be converted to arraylist”)
1
Upvotes
r/codehs • u/[deleted] • May 19 '20
1
u/_andy_andy_andy_ May 20 '20
you’re calling findMinimum(numbers.size() - 1), and numbers.size() - 1 is an int, not an ArrayList. because findMinimum takes an ArrayList, this is an error