I really enjoyed Neeraj’s performance. I think it was very good. I have one question though -> Isn’t it a problem that remainderSoFar + nums[currentIndex]%k in line 68 of the final code can overflow Integer type? For example when k = Integer.MAX_VALUE and nums = {k - 1, 2, k - 1}.
@queuebit Жыл бұрын
FYI: I think the chapters are wrong for this video.