What Makes a Program Good: Correctness or Effective Correctness?
Recently, during an interview, I was asked a coding question:"Can you find the position of 0 in a 2D array?"
I solved it by using a simple approach—iterate through the 2D array using nested loops and check each element one by one with a condition. If...
think-code-optimize.hashnode.dev3 min read