KEVIN HSU

About being a great person, developer and friend.

Group Anagrams

Leetcode - No. 49

49 Group AnagramsGiven an array of strings, group anagrams together. 123456789Example:Input: ["eat", "tea", "tan", "ate", "nat", "bat"],O......

Longest Palindromic Substring

Leetcode - No. 5

5 Longest Palindromic SubstringGiven a string s, find the longest palindromic substring in s. You may assume that the maximum length of s is 1000. 123456789Example 1:Input: "babad"Output:......

Longest Substring Without Repeating Characters

Leetcode - No. 3

3 Longest Substring Without Repeating CharactersGiven a string, find the length of the longest substring without repeating characters. 12345678910Example 1:Input: "abcabcbb"Output: 3 Expl......

Add Two Numbers (Linked List)

Leetcode - No. 2

2 Add Two NumbersYou are given two non-empty linked lists representing two non-negative integers. The digits are stored in reverse order and each of their nodes contain a single digit. Add the two ......

Three Sum

Leetcode - No. 15

3 SumGiven an array nums of n integers, are there elements a, b, c in nums such that a + b + c = 0? Find all unique triplets in the array which gives the sum of zero. 3 Sum 123456789Example:Given a......

Two Sum

Leetcode - No. 1

1 Two SumGiven an array of integers, return indices of the two numbers such that they add up to a specific target. You may assume that each input would have exactly one solution, and you may not us......

How to use Hexo and deploy to GitHub Pages

Build up your first personal website.

Having a personal website gives you a platform to connect with the world.Another benefit of having a personal website is to luxury of connecting to the world.Your website can be accessed from any p......