- 博客(6)
- 资源 (5)
- 收藏
- 关注
原创 letcode - Dungeon Game
题目:Dungeon GameThe demons had captured the princess (P) and imprisoned her in the bottom-right corner of a dungeon. The dungeon consists of M x N rooms laid out in a 2D grid. Our valiant knigh
2015-07-27 23:30:25 662
原创 leetcode - Search a 2D Matrix II
题目:Search a 2D Matrix IIWrite an efficient algorithm that searches for a value in anm x n matrix. This matrix has the following properties:Integers in each row are sorted in ascending
2015-07-25 13:52:56 907
原创 leetcode - Sliding Window Maximum
题目:Sliding Window MaximumGiven 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 win
2015-07-18 11:49:33 961
原创 leetcode - Lowest Common Ancestor of a Binary Tree
题目:Lowest Common Ancestor of a Binary Search TreeGiven a binary search tree (BST), find the lowest common ancestor (LCA) of two given nodes in the BST.According to the definition of
2015-07-11 10:55:28 909
转载 leetcode - Convert Sorted List to Binary Search Tree
题目:Convert Sorted List to Binary Search TreeGiven a singly linked list where elements are sorted in ascending order, convert it to a height balanced BST./** * Definition for singly-linked l
2015-07-09 23:51:30 471
原创 leetcode - Decode Ways
题目:Decode WaysA message containing letters from A-Z is being encoded to numbers using the following mapping:'A' -> 1'B' -> 2...'Z' -> 26Given an encoded message containing digits,
2015-07-06 12:15:09 563
VC++程序: 将字符串转换成公式并计算结果
2014-10-23
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人