ByteDance interview question

1. write an MLP 2. a leet-code type problem involve sorting. Ask me to also write some test cases