HM round(3rd interview round) | Amazon

I was asked to code up a function to validate if sudoku is valid or not . it was easy medium question but here are some mistakes :
I used #define size_of_sudoku 9, I find global variables to be bad , made a mistake in hurry

When he asked me to generalize it for n by n board i told him the condition for the same but we had just 4 minutes left and I missed out on a few things over therr like changing the loop structure for N ...

are these things a very big blunder ? Any thoughts?
If they are red flags?

Comments (1)