Day 19 of 133

Decision trees + DSA Binary Search

Splits (Gini/entropy), pruning, why trees are high-variance.

DSA · NeetCode Binary Search

  • Interview questions to prep

    1. Why does mid-vs-right comparison work but mid-vs-left can mislead with duplicates?
    2. How does the algorithm change if duplicates are allowed?
  • Search IN Rotated Sorted ArrayDSA · Binary Search

    Interview questions to prep

    1. How do you decide which half is sorted on each step? Walk through with a small example.
    2. What changes if duplicates are allowed (LC 81)?

ML · Decision trees

References & further reading