Julia's coding blog - Practice makes perfect

From January 2015, she started to practice leetcode questions; she trains herself to stay focus, develops "muscle" memory when she practices those questions one by one. 2015年初, Julia开始参与做Leetcode, 开通自己第一个博客. 刷Leet code的题目, 她看了很多的代码, 每个人那学一点, 也开通Github, 发表自己的代码, 尝试写自己的一些体会. She learns from her favorite sports – tennis, 10,000 serves practice builds up good memory for a great serve. Just keep going. Hard work beats talent when talent fails to work hard.

Sunday, August 16, 2015

Leetcode questions 1 - 10

August 15

1. Two sum
C#
https://github.com/jianminchen/Leetcode_C-/blob/master/1TwoSum.cs

2. Add two numbers
C#
https://github.com/jianminchen/Leetcode_C-/blob/master/2AddTwoNumbers.cs

3. Longest substring without repeating characters

blog:
http://blog.csdn.net/linhuanmars/article/details/19949159

read all the comments, and play with code using C#, at least 20 minutes; get more understanding this time.

https://github.com/jianminchen/Leetcode_C-/blob/master/3LongestSubstringWithoutRepeating.cs

4. Median of two sorted array (8/17/2015)

C# implementation:
https://github.com/jianminchen/Leetcode_C-/blob/master/4MedianOfTwoSortedArrays.cs

5 longest palindromic substring

C#
https://github.com/jianminchen/Leetcode_C-/blob/master/5LongestPalindromicSubstring.cs



9 Palindrome number
blog:
http://codeganker.blogspot.ca/2014/02/palindrome-number-leetcode.html

C# code:
https://github.com/jianminchen/Leetcode_C-/blob/master/9palindromeNumber.cs

10 Regular Expression Matching
blog:
http://bangbingsyb.blogspot.ca/2014/11/leetcode-regular-expression-matching.html

C# code:
https://github.com/jianminchen/Leetcode_C-/blob/master/10RegularExpressionMatching.cs








Jianmin Chen at 10:16 PM
Share

No comments:

Post a Comment

‹
›
Home
View web version

Though youths grow weary and tired, And vigorous young men stumble badly, Yet ... Isaiah 40:31

My photo
Jianmin Chen
View my complete profile
Powered by Blogger.