原创 [88] Merge Sorted Array
1. 題目描述 Given two sorted integer arrays nums1 and nums2, merge nums2 into nums1 as one sorted array. Note: You may
原创 Mac Safari 此連接非私人連接
1. 問題 連接公司vpn的時候,Mac彈出此連接非私人連接,點擊訪問此網站後輸入密碼將證書手動設爲可信後,又彈出了此連接非私人連接。之後進入了無限循環無論怎樣都無法訪問該網頁。 2. 解決方案 2.1 點擊頁面上查看此證書,記住證書
原创 [136] Single Number
1. 題目描述 Given an array of integers, every element appears twice except for one. Find that single one. Note: Your al
原创 [20] Valid Parentheses
1. 題目描述 Given a string containing just the characters ‘(‘, ‘)’, ‘{‘, ‘}’, ‘[’ and ‘]’, determine if the input string i
原创 [28] Implement strStr()
1. 題目描述 Implement strStr(). Returns the index of the first occurrence of needle in haystack, or -1 if needle is not
原创 Android GreenDAO ORM的使用(一) 生成DAO和Bean
1. 什麼是GreenDAO? greenDAO is an open source Android ORM making development for SQLite databases fun again. It relieves
原创 [165] Compare Version Numbers
1. 題目描述 Compare two version numbers version1 and version2. If version1 > version2 return 1, if version1 < version2
原创 [219] Contains Duplicate II
1. 題目描述 Given an array of integers and an integer k, find out whether there are two distinct indices i and j in the ar
原创 [205] Isomorphic Strings
1. 題目描述 Given two strings s and t, determine if they are isomorphic. Two strings are isomorphic if the characters in s
原创 [38] Count and Say
1. 題目描述 The count-and-say sequence is the sequence of integers beginning as follows: 1, 11, 21, 1211, 111221, … 1 i
原创 [203] Remove Linked List Elements
1. 題目描述 Remove all elements from a linked list of integers that have value val. Example Given: 1 –> 2 –> 6 –> 3 –>
原创 [7] Reverse Integer
1. 題目描述 Reverse digits of an integer. Example1: x = 123, return 321 Example2: x = -123, return -321 click to show s
原创 [299] Bulls and Cows
1. 題目描述 You are playing the following Bulls and Cows game with your friend: You write down a number and ask your frien