GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — LeetCode/Tree/272.Closest-Binary-Search-Tree-Value-II at master · wisdompeak/LeetCode

Expand file tree

/

272.Closest-Binary-Search-Tree-Value-II

/
Copy path

Directory actions

More options

More options

Directory actions

More options

More options

Latest commit

 

History

History
History
/

272.Closest-Binary-Search-Tree-Value-II

/
Copy path

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
272.Closest Binary Search Tree Value II.cpp
272.Closest Binary Search Tree Value II.cpp
 
 
Readme.md
Readme.md
 
 

Readme.md

272.Closest-Binary-Search-Tree-Value-II

构造一个队列。按中序遍历递归这个数组,不断将访问的节点加入这个队列。当加入的元素与target的差距大于队首元素与target的差距,即可停止。

Leetcode Link

You are visitor 01402792 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.