---
title: "Discussion on \"What Makes a Program Good: Correctness or Effective Correctness?\" | Hashnode"
description: "Discussion on \"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?\"\nI 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..."
url: "https://hashnode.com/posts/what-makes-a-program-good-correctness-or-effective-correctness/6847ba66dc976a6e09da70a8"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [What Makes a Program Good: Correctness or Effective Correctness?](https://think-code-optimize.hashnode.dev/what-makes-a-program-good-correctness-or-effective-correctness?utm_source=hashnode&utm_medium=feed)

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...

Jun 10, 2025 · 3 min read · think-code-optimize.hashnode.dev  
Read the article

-   [#cpp](https://hashnode.com/tag/cpp)
-   [#chaicode](https://hashnode.com/tag/chaicode)

## Written by

[Dhiraj Kumbhar](https://hashnode.com/@IamMuffins)

@IamMuffins · Pune, Maharashtra

  
[View profile](https://hashnode.com/@IamMuffins)

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
