Grokking the Coding Interview: Patterns for Coding Questions
Ask Author
Back to course home

0% completed

Vote For New Content
Sachin Dev S
Correction required in the solution description

Sachin Dev S

Sep 22, 2024

 and use two pointers to track the positions of these words.

this should be two variable and not "two pointer", it's confusion with 2 pointer pattern

2

0

Comments
Comments
 Sujay
Sujay10 months ago

True, this is quite misleading as other problems in this warmup are actually 2 pointer pattern