原创 Leetcode:303. Range Sum Query - Immutable(week 8)

Description: Given an integer array nums, find the sum of the elements between indices i and j (i ≤ j), inclusive.

原创 Leetcode:198. House Robber(week 9)

Description: You are a professional robber planning to rob houses along a street. Each house has a certain amount o

原创 Leetcode:402. Remove K Digits (Week 7)

Description: Given a non-negative integer num represented as a string, remove k digits from the number so that the

原创 Leetcode: 654. Maximum Binary Tree

Description: Given an integer array with no duplicates. A maximum tree building on this array is defined as follow:

原创 Leetcode:Median of Two Sorted Arrays

Description: There are two sorted arrays nums1 and nums2 of size m and n respectively. Find the median of the two

原创 Leetcode:226. Invert Binary Tree

Description: Invert a binary tree. 4 / \ 2 7 / \ / \ 1 3 6 9 to 4 /

原创 Leetcode:435. Non-overlapping Intervals (week 9)

Description: Given a collection of intervals, find the minimum number of intervals you need to remove to make the r

原创 Leetcode:455. Assign Cookies (week 7)

Description: Assume you are an awesome parent and want to give your children some cookies. But, you should give eac

原创 數字圖像處理之直方圖均衡化與匹配算法

本文爲原創,有很多不足之處望斧正! 實驗內容一 實現river.jpg 圖像的直方圖均衡,不能直接使用Matlab的histeq( )函數。將有關均衡圖像和調用histeq( )函數的結果作比較。 實驗原理及算法描述 直方圖均衡化

原创 Leetcode:23. Merge k Sorted Lists (week 10)

Description Merge k sorted linked lists and return it as one sorted list. Analyze and describe its complexity. 解題思

原创 Leetcode:657. Judge Route Circle (week 7)

Description: Initially, there is a Robot at position (0, 0). Given a sequence of its moves, judge if this robot mak

原创 Leetcode:121. Best Time to Buy and Sell Stock

Description: Say you have an array for which the ith element is the price of a given stock on day i. If you were on

原创 Leetcode:2. Add Two Numbers(Week 6)

Description: You are given two non-empty linked lists representing two non-negative integers. The digits are stored

原创 Leetcode: Course Schedule

Description: There are a total of n courses you have to take, labeled from 0 to n - 1. Some courses may have prereq

原创 Android studio安裝詳解(Windows)

目錄 1、AS(Android studio)的安裝 2、下載SDK 3、安裝時遇到的問題 4、創建一個helloworld項目,並在真機上測試 1、AS 的安裝 可能出現的問題: 由於G