25 Jan 2023, 12:00 AM
25 Jan 2023, 12:00 AM

Optimize & Solve Technique

Look for BUD

It's an acronym for:

Data Structure Brainstorm

We simply run through a list of data structures and try to apply each one.

Example

Keep track of the median of an array.

Structure Brainstorm

Consider the 1.3.1. Best Conceivable Runtime (BCR)