acmbvp / Hacktoberfest

Make your first PR! ~ A beginner-friendly repository made specifically for open source beginners. Add your profile, a blog or any program under any language (it can be anything from a hello-world program to a complex data structure algorithm) or update the existing one. Just make sure to add the file under the correct directory. Happy hacking!
https://bvcoe.acm.org/
236 stars 469 forks source link

Update longest_substring.java #650

Open pragya-sharma opened 2 years ago

pragya-sharma commented 2 years ago

In this File 'longest_substring.java' , I have updated the function body which is effiecient solution for this program.

and same steps i have followed in File 'prime-number.java' .