摘要:
题目: You are given a m x n 2D grid initialized with these three possible values. -1 - A wall or an obstacle. 0 - A gate. INF - Infinity means an empty 阅读全文
posted @ 2015-12-11 12:23
YRB
阅读(2087)
评论(0)
推荐(0)
摘要:
题目: 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 successo 阅读全文
posted @ 2015-12-11 08:07
YRB
阅读(3630)
评论(0)
推荐(0)
摘要:
题目: Given an Iterator class interface with methods: next() and hasNext(), design and implement a PeekingIterator that support the peek() operation -- 阅读全文
posted @ 2015-12-11 05:25
YRB
阅读(703)
评论(0)
推荐(0)
摘要:
题目: Given an array nums, write a function to move all 0's to the end of it while maintaining the relative order of the non-zero elements. For example, 阅读全文
posted @ 2015-12-11 03:33
YRB
阅读(323)
评论(0)
推荐(0)
摘要:
题目:Given a string that contains only digits0-9and a target value, return all possibilities to addbinaryoperators (not unary)+,-, or*between the digits... 阅读全文
posted @ 2015-12-11 03:24
YRB
阅读(1313)
评论(0)
推荐(0)

浙公网安备 33010602011771号