Open Saunakghosh10 opened 1 year ago
The key changes:
Using vectors and strings instead of C-style arrays and chars Parameter references instead of pointers Boolean return instead of break Validation checks for grid bounds More readable variable names Constant for directions array
The key changes:
Using vectors and strings instead of C-style arrays and chars Parameter references instead of pointers Boolean return instead of break Validation checks for grid bounds More readable variable names Constant for directions array