Domanda di colloquio di ByteDance

2 coding questions and some generalized tech questions.