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
16.07k stars 10.45k forks source link

Update NKnights.java #1261

Open golu7059 opened 4 months ago

golu7059 commented 4 months ago

There are basically 8 different moves can be taken by the knight . So we have to add 8 conditions.