Grokking the Coding Interview: Patterns for Coding Questions
0% completed
Solution: Two Sum
.....
.....
.....
Like the course? Get enrolled and start learning!
A
Anonymous
· 3 years ago
There is an error in Example 3, in the body of the text. There, it says that the expected output should be [1, 3] for an input of [10, 15, 20, 25, 30, 35] and a target of 45. Indexes 1 and 3 correspond to 10 and 25 which add to 35, not 45. The correct answer is [1, 4]
Reading Progress
0%