摘要:
A strobogrammatic number is a number that looks the same when rotated 180 degrees (looked at upside down).Write a function to determine if a number is... 阅读全文
摘要:
Given a binary tree, imagine yourself standing on therightside of it, return the values of the nodes you can see ordered from top to bottom.For exampl... 阅读全文
摘要:
Given a non-empty binary search tree and a target value, findkvalues in the BST that are closest to the target.Note:Given target value is a floating p... 阅读全文
摘要:
Given a non-empty binary search tree and a target value, find the value in the BST that is closest to the target.public class Solution { public int... 阅读全文
摘要:
Given a binary search tree and a node in it, find the in-order successor of that node in the BST.Note: If the given node has no in-order successor in ... 阅读全文
该文被密码保护。 阅读全文