kunal-kushwaha / DSA-Bootcamp-Java

This repository consists of the code samples, assignments, and notes for the Java data structures & algorithms + interview preparation bootcamp of WeMakeDevs.
https://www.youtube.com/playlist?list=PL9gnSGHSqcnr_DxHsP7AW9ftq0AtAyYqJ
17.24k stars 11.07k forks source link

feature:Added new feature to handle the expection in infinite array problem #1141

Closed Sahilkumar19 closed 1 year ago

Sahilkumar19 commented 1 year ago

fix #1097 This pull request introduces a new feature(try and catch)that addresses the exception handling in the context of the infinite array problem. The changes are aimed at enhancing the robustness and reliability of the codebase when dealing with arrays of unknown or infinite length.