Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Vishruth-S/CompetitiveCode
/ solution.py
File
solution.py
CSES_Problems/Missing Number/solution.py:None–None ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
1
def
missing_num(n):
2
n=sorted(n)
# shuffling the items of n in a sorted manner
3
n.append(0)
#adding the number 0 at the end for checking purpose
4
for
i in range(1,len(n)+1):
Callers
nothing calls this directly
Calls
1
missing_num
Function · 0.85
Tested by
no test coverage detected