https://leetcode.cn/problems/rotting-oranges/submissions/660860598/ leetcode bfs https://algo.monster/liteproblems/362 bisect