ByteDance Interview Question

Sorry I cannot remember since it was 10 months ago...