mirror of
https://github.com/type-challenges/type-challenges.git
synced 2025-12-08 19:06:13 +00:00
chore: update index
This commit is contained in:
parent
1a931f3e62
commit
f11cbc4fd9
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
@ -1,3 +1,5 @@
|
||||
<!--info-header-start--><h1>Valid Sudoku <img src="https://img.shields.io/badge/-hard-de3d37" alt="hard"/> <img src="https://img.shields.io/badge/-%23array-999" alt="#array"/> <img src="https://img.shields.io/badge/-%23math-999" alt="#math"/> <img src="https://img.shields.io/badge/-%23game-999" alt="#game"/></h1><blockquote><p>by Apollo Wayne <a href="https://github.com/Shinerising" target="_blank">@Shinerising</a></p></blockquote><p><a href="https://tsch.js.org/35314/play" target="_blank"><img src="https://img.shields.io/badge/-Take%20the%20Challenge-3178c6?logo=typescript&logoColor=white" alt="Take the Challenge"/></a> </p><!--info-header-end-->
|
||||
|
||||
Sudoku is a famous paper and pencil game. The goal of Sudoku is to fill a 9x9 grid with numbers so that each row, column and 3x3 section contain all of the digits between 1 and 9. You'll be given a finished 9x9 grid, and you need to determine if it's a valid Sudoku solution. Return true if it is, and false if it is not.
|
||||
|
||||
```ts
|
||||
@ -14,3 +16,6 @@ type Matrix = [
|
||||
]
|
||||
type result = ValidSudoku <Matrix>; // expected to be true
|
||||
```
|
||||
|
||||
|
||||
<!--info-footer-start--><br><a href="../../README.md" target="_blank"><img src="https://img.shields.io/badge/-Back-grey" alt="Back"/></a> <a href="https://tsch.js.org/35314/answer" target="_blank"><img src="https://img.shields.io/badge/-Share%20your%20Solutions-teal" alt="Share your Solutions"/></a> <a href="https://tsch.js.org/35314/solutions" target="_blank"><img src="https://img.shields.io/badge/-Check%20out%20Solutions-de5a77?logo=awesome-lists&logoColor=white" alt="Check out Solutions"/></a> <!--info-footer-end-->
|
||||
@ -4,4 +4,3 @@ tags: array, math, game
|
||||
author:
|
||||
github: Shinerising
|
||||
name: Apollo Wayne
|
||||
|
||||
|
||||
@ -9,7 +9,7 @@ type Matrix0 = [
|
||||
[6, 7, 2, 1, 5, 4, 8, 9, 3],
|
||||
[4, 6, 8, 3, 1, 9, 7, 2, 5],
|
||||
[5, 2, 3, 4, 8, 7, 9, 1, 6],
|
||||
[7, 1, 9, 2, 6, 5, 3, 8, 4]
|
||||
[7, 1, 9, 2, 6, 5, 3, 8, 4],
|
||||
]
|
||||
|
||||
type Matrix1 = [
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user