LeetCode 1 - Two Sum
Intuition
Approach
Complexity
Solution
if num in remaining_values.keys():
j = remaining_values[num]
return [i, j]
remaining_values[target - num] = i

@adityadedhia
Polymath, founder, and undergrad. I love to think, write, and build paradigm-breaking software. Here I share important ideas at the cutting edge and cross-section of philosophy, economics, management, computing, and the future.
gönderiye yanıt ver