For AI agents: the site's llms.txt is at /llms.txt.
Alwaldend S8 graduated square monogram
Alwaldend
Projects
Infra
Blog
Docs
Toggle theme
Light
Dark
Auto
Docs
Misc
Leetcode submissions
2025-08-20 18:44:00 +0300 MSK
2025-08-20 18:44:00 +0300 MSK
Count Distinct Numbers on Board
Tags:
Generated
Leetcode_submission
Links
https://leetcode.com/submissions/detail/1742221077/
Code
class
Solution
:
def
distinctIntegers
(
self
,
n
:
int
)
->
int
:
if
n
==
1
:
return
1
return
n
-
1