Chewbacca and number

we can proceed by normal array also.

@sharmalakshyarocks yes,we can proceed a normal array as well. That will take up some extra space. More efficient solution is not to use the array. But there is not much harm in using the array.

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.