摘要:
There are a row of n houses, each house can be painted with one of the three colors: red, blue or green. The cost of painting each house with a certai 阅读全文
阅读排行榜
[LeetCode] 83. Remove Duplicates from Sorted List_Easy tag: Linked List
2019-04-30 10:35 by Johnson_强生仔仔, 215 阅读, 收藏,
摘要:
Given a sorted linked list, delete all duplicates such that each element appear only once. Example 1: Input: 1->1->2 Output: 1->2 Example 2: Input: 1- 阅读全文
Solutions_issues in pip
2019-03-20 03:47 by Johnson_强生仔仔, 215 阅读, 收藏,
摘要:
pip fails ssl verification Solution: If there is no pip installed, check whether the system have python installed. If it has python installed, then tr 阅读全文
[LeetCode] 252. Meeting Rooms_Easy tag: Sort
2018-08-16 10:11 by Johnson_强生仔仔, 215 阅读, 收藏,
摘要:
Given an array of meeting time intervals consisting of start and end times [[s1,e1],[s2,e2],...] (si < ei), determine if a person could attend all mee 阅读全文
[LeetCode] 111. Minimum Depth of Binary Tree_Easy tag:DFS
2018-08-06 23:19 by Johnson_强生仔仔, 215 阅读, 收藏,
摘要:
Given a binary tree, find its minimum depth. The minimum depth is the number of nodes along the shortest path from the root node down to the nearest l 阅读全文
浙公网安备 33010602011771号