# General Problem Solving

Consolidating some of the common patterns and problem solving methods you can try when working on problems

This list is not exhaustive! If you wish to contribute more techniques, please email me at [email protected]

- 1.Finding the median of data: focus on the definition of a median and model the solution after it
- 2.
- 3.Sub-sequence problems: think about sorting (if possible)
- 4.
- 1.Divide and conquer, similar to merge sort
- 2.
- 3.
- 4.
- 5.

- 5.
- 1.
- 2.Double Ended Queues can be used to represent the current maximum (as the front) and potential maximums (subsequent elements) in the event where the current maximum "expires"