摘要:
https://leetcode.com/problems/house-robber/#/description /* 你是一个专业强盗,并计划沿街去盗窃每一个住户。每个房子都有一定量的现金,阻止你盗窃的唯一阻碍是相邻的两个房子之间有安全系统。一旦这两个房子同时被盗窃,系统就会自动联系警察。给定一系 阅读全文
posted @ 2017-04-20 16:09
Sempron2800+
阅读(202)
评论(0)
推荐(0)
摘要:
https://leetcode.com/problems/find-mode-in-binary-search-tree/#/description 阅读全文
posted @ 2017-04-20 15:31
Sempron2800+
阅读(175)
评论(0)
推荐(0)
摘要:
https://leetcode.com/problems/lowest-common-ancestor-of-a-binary-search-tree/#/description 阅读全文
posted @ 2017-04-20 15:09
Sempron2800+
阅读(182)
评论(0)
推荐(0)
摘要:
https://leetcode.com/problems/repeated-substring-pattern/#/description 阅读全文
posted @ 2017-04-20 11:50
Sempron2800+
阅读(102)
评论(0)
推荐(0)
摘要:
/** * Definition for singly-linked list. * public class ListNode { * public int val; * public ListNode next; * public ListNode(int x) { val = x; } * } 阅读全文
posted @ 2017-04-20 11:17
Sempron2800+
阅读(180)
评论(0)
推荐(0)
摘要:
public class Solution { private bool Judge(int x) { if (x <= 1) { return false; } int bound = Convert.ToInt32(Math.Sqrt(x)); for (int i = 2; i <= boun 阅读全文
posted @ 2017-04-20 09:06
Sempron2800+
阅读(99)
评论(0)
推荐(0)
浙公网安备 33010602011771号