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

correcth the nknights solution #1136

Closed Sangamesh06 closed 1 year ago

Sangamesh06 commented 1 year ago

In the file "lectures/14-recursion/code/src/com/kunal/backtracking/NKnights.java" of dsa bootcamp java" lectures of dsa bootcamp java the solution for nknights problem considers only 4 attack position but there are 8 attack position so correct the solution according to 8 attacking positions