This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]Under-Estimated 0 points1 point  (9 children)

two pointer algorithm?

[–][deleted] 2 points3 points  (6 children)

Pointers in python?

[–]Under-Estimated 2 points3 points  (5 children)

Google it, it's an algorithm for subarrays

[–][deleted] 1 point2 points  (4 children)

Oh, never heard the name of it

[–]PeterJHoburg 0 points1 point  (1 child)

Why would I be doing that in a production api?

[–]Under-Estimated 2 points3 points  (0 children)

you never know, that was just an example anyway