DSA-Bootcamp-Java
DSA-Bootcamp-Java copied to clipboard
This repository consists of the code samples, assignments, and notes for the Java data structures & algorithms + interview preparation bootcamp of WeMakeDevs.
Removed (head != null*) in if condition from line:282 and in line:291 at the return statement. Head is never going to be null since we are reversing the second half...
@kunal-kushwaha As we cannot use length of an array in this problem. To fix [this](https://github.com/kunal-kushwaha/DSA-Bootcamp-Java/issues/645#issue-1226452108) error, we can check if ArrayIndexOutOfBoundException is throwing or not inside where we double the...