ByteDance Interview Question

Harsh Table, dynamic programming, etc.