Pykeep
Keep
Workshop
Board
Codex
—
Back to courtyard
Pattern Keep · Spell · 5 min
two_sum 1
two_sum_sorted for t=1 on [1,2,4,8,12].
Lv 1
·
22/22
·
3/1
·
3
Define two_sum_sorted() so every test passes
Two pointers.
1
2
3
4
5
6
7
8
def
two_sum_sorted(xs, t):
return
False
def two_sum_sorted(xs, t): return False
Run
Reset
Hint
The stone is quiet.
Keep
Workshop
Board
Codex