ByteDance interview question

1 coding problem each round (mid level), system design in the last round