Are we generally expected o think of these kind of solutions on our own?

I had never seen this concept before and i want to know if we are generally expected to think these kind of approaches on our own.

hello @laksh.rustagi12

since u have just started programming, it is not easy to come up with such approaches.
with time u will start getting such approaches on ur own,just keep practicing

I hope I’ve cleared your doubt. I ask you to please rate your experience here
Your feedback is very important. It helps us improve our platform and hence provide you
the learning experience you deserve.

On the off chance, you still have some questions or not find the answers satisfactory, you may reopen
the doubt.