Skip to content

Add C++ Solution for LeetCode Problem 36: Valid SudokuΒ #264

@richochetclementine1315

Description

@richochetclementine1315

πŸš€ Add C++ Solution for LeetCode Problem 36: Valid Sudoku

πŸ“Œ Problem Statement

LeetCode 36 – Valid Sudoku
Determine if a 9x9 Sudoku board is valid. Only the filled cells need to be validated according to the following rules:

  • Each row must contain the digits 1-9 without repetition.
  • Each column must contain the digits 1-9 without repetition.
  • Each of the nine 3x3 sub-boxes must contain the digits 1-9 without repetition.

πŸ› οΈ Proposal

I would like to contribute a C++ solution for this problem.
The solution will include:

  • Clean and readable code with proper variable naming.
  • Inline comments explaining each line.
  • Efficient use of boolean arrays for constraint checking.
  • Edge case handling.

πŸ“„ Note:
The intuition, approach, and time & space complexity analysis will be documented in the README.md file located in the same directory as the solution code.

πŸ”— Resources

Please let me know if I can proceed with this contribution.

Thanks!

Metadata

Metadata

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions