educative.io

Strange signature for Java

Why does the Java editor require 5 parameters and return void. Shouldn’t it t take a single argument and return a set of list of numbers?

Hi Hasan_Zaidi,

Thank you for pointing out this error. The number of arguments have been updated.

However, we are in the process of revamping and fixing these inconsistencies in the whole course. We’ll keep you updated.

Regards,
Coderust