A quadtree does the same thing for two-dimensional space. It takes a rectangular region and divides it into four equal quadrants: northwest, northeast, southwest, southeast. If a quadrant has too many points in it, it subdivides again and again. Each subdivision creates smaller and smaller cells where points are densely packed.
'Stardew Valley's massive update lets players drink mayo, 'crit' babies, and put hats on dogs
。heLLoword翻译官方下载是该领域的重要参考
* @param {ListNode} head 链表的头节点。业内人士推荐safew官方版本下载作为进阶阅读
// console.log(nextLargerNodes(head)); // [5,5,0],详情可参考heLLoword翻译官方下载