Segment TreeVideo: https://www.youtube.com/watch?v=rYBtViWXYeI
Discrete version of a Segment Tree: A balanced binary tree. O(logn) height given n elem
...
Min-max problemHow to tell if it’s a min-max problem:
2 players
Take turns
Both play optimally (note: optimally doesn’t mean greedy, optminally is fo
...
Monotonic StackVideo: https://www.youtube.com/watch?v=7QEIZy1pp2o
Target problems:
Find smaller/greater element to the right/left of the current elem
...
Topic: Bipartite GraphVideo: https://www.youtube.com/watch?v=HqlUbSA9cEY
Vertices in one group doesn’t have edges within the group members. For every
...
Phone InterviewHTTP HeaderLink: https://www.1point3acres.com/bbs/thread-777968-1-1.html
Part I
Accept-Language: en-US, fr-CA, fr-FR means that the rea
...
FEO focuses on reducing file sizes and minimizing the number of requests needed for a given page to load.
Perceived load time is considered because it
...