Google (Arrays And Strings) Flashcards

1
Q

Longest sub string without repeating characters

A

Use 2 pointers to keep track of repeats

Use while loop to trim from left until repeat gone

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

2 pointer largest container

A
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

3sum

A

Sort array then
2 pointers from either side

How well did you know this?
1
Not at all
2
3
4
5
Perfectly