Комментарии:
That's the great approach...
ОтветитьHow is this even a tutorial? I come here to see the step by step explanation. If I had to see the solution I'd have gone to the website. Pathetic content.
Ответитьcan anyone please tell me , arr[i] % 2 != 0 can be replace by air[I] & 1 ? do both means same ?
Ответитьsecond solution provided will not work for negative numbers
ОтветитьThanks once again for an informative video.
One suggestion, for all the solutions proposed could you add a small snippet on how you arrived at the time complexity. That would definitely help instead of just stating the time and space complexity.
That would help us know and determine the same by ourselves the next time we look as any code or think of any proposed solution.
Thanks again. :)