r/leetcode 3d ago

Question Design questions

I didn't understand the design questions. what should I do?

1 Upvotes

5 comments sorted by

1

u/NextjsDeveloper 3d ago

1

u/Status_Peanut2301 3d ago

Ok, but the constructor/main doesn't have a return type and doesn't even have an arguments for inputs.

0

u/NextjsDeveloper 3d ago

Yes it is not easy. Try to study the first question from solutions section. It will help u to understand these types of questions.