原创 Ubuntu16.04+Nvidia GTX 1080 Ti安裝
製作好U盤啓動盤安裝Ubuntu,總出現黑屏無法繼續的情況,經查找資料,是顯卡太高,需要在安裝前進行一些額外配置,詳情參考: Ubuntu 16.04+GTX970 黑屏無法安裝解決方法 分區方法參考: Ubuntu分區方案(菜鳥方案、常
原创 17. Letter Combinations of a Phone Number
題目 Given a digit string, return all possible letter combinations that the number could represent. A mapping of digit
原创 32. Longest Valid Parentheses
題目 Given a string containing just the characters '(' and ')', find the length of the longest valid (well-formed) par
原创 78. Subsets
題目 Given a set of distinct integers, nums, return all possible subsets. Note: The solution set must not contain dupl
原创 166. Fraction to Recurring Decimal
題目 Given two integers representing the numerator and denominator of a fraction, return the fraction in string format.
原创 655. Print Binary Tree
題目 Print a binary tree in an m*n 2D string array following these rules: The row number m should be equal to the heigh
原创 2. Add Two Numbers
題目 You are given two non-empty linked lists representing two non-negative integers. The digits are stored in reverse
原创 10. Regular Expression Matching
題目 Implement regular expression matching with support for '.' and '*'. '.' Matches any single character. '*' Matches
原创 15. 3Sum
題目 Given an array S of n integers, are there elements a, b, c in S such that a + b + c = 0? Find all unique triplets
原创 Ubuntu 16.04安裝Teamviewer12
參考:Ubuntu 16.04 LTS安裝 TeamViewer 下載所需依賴,當出現下圖錯誤時: 直接輸入:sudo apt-get -f install即可成功安裝所有依賴。 點贊 收藏 分享
原创 4. Median of Two Sorted Arrays
題目 There are two sorted arrays nums1 and nums2 of size m and n respectively. Find the median of the two sorted array
原创 23. Merge k Sorted Lists
題目 Merge k sorted linked lists and return it as one sorted list. Analyze and describe its complexity. 分析 合併k個已排序鏈表爲一個鏈
原创 31. Next Permutation
題目 Implement next permutation, which rearranges numbers into the lexicographically next greater permutation of number
原创 173. Binary Search Tree Iterator
題目 Implement an iterator over a binary search tree (BST). Your iterator will be initialized with the root node of a B
原创 437. Path Sum III
題目 You are given a binary tree in which each node contains an integer value. Find the number of paths that sum to a