educative.io

Misleading method signature for Question 3

The question 3 asks this;

The constructor will take in the parameter n and the class will expose two methods get(int n) and put(int n)

The solution used the method signature put(int n, int m)

This is misleading the reader.

Hey @Ekrem!
Could you please be more specific about the question statement or the lesson name/link?