- 博客(2)
- 收藏
- 关注
原创 leetcode235:Lowest Common Ancestor of a Binary Search Tree
Given a binary search tree (BST), find the lowest common ancestor (LCA) of two given nodes in the BST. According to the definition of LCA on Wikipedia: “The lowest common ancestor is defined betw
2015-07-19 21:53:56 136
原创 leetcode239:Sliding Window Maximum
Given an array nums, there is a sliding window of size k which is moving from the very left of the array to the very right. You can only see the k numbers in the window. Each time the sliding window m
2015-07-19 16:00:29 151
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人