ByteDance Interview Question

A coding problem and basic ML knowledge