ByteDance Interview Question

Some algorithms for bubble sort and recursion