## Leetcode: Factor Combinations

Numbers can be regarded as product of its factors. For […]

## Leetcode: Encode and Decode TinyURL

TinyURL is a URL shortening service where you enter a U […]

## Leetcode: Word Ladder II

Question Given two words (beginWord and endWord), and a […]

## Leetcode: Valid Number

Question Validate if a given string is numeric. Some ex […]

## Step By Step of Creating a Ruby Gem

Step By Step of Creating a Ruby Gem I’m going to […]

## LeetCode: Reverse Integer

Previous Post This is the previous post on same questio […]

## LeetCode: ZigZag Conversion

Previous post This is the old post on this question, us […]

## Formatting DateTime in Rails

There are some useful params with Time#to_s [14] pry(ma […]

## [Solved] Install Nokogiri on Yosemite with Ruby 2.1.3

Updated to Yosemite and got the following problem while […]

## Using VCR with WebMock in Rails Rspec Tests

If the application need interaction with another web se […]

## [Repost] Here Document in Ruby

This is repost from http://log.gmarik.info/2007/12/ruby […]

## STI of ActiveRecord in Rails

STI, Single Table Inheritance, supported by ActiveRecor […]

## The difference from %w to %W in Ruby

Difference between %w and %W In short, %w act as ‘, whi […]

## LeetCode题目：Valid Parentheses

Given a string containing just the characters ‘(& […]

## LeetCode: Trapping Rain Water

Trapping Rain Water Given n non-negative integers repre […]

## LeetCode: Merge Intervals

Merge Intervals Given a collection of intervals, merge […]

## LeetCode: Median of Two Sorted Arrays

Updated Java version at 2018-07-14 Question Median of T […]

## LeetCode: Longest Substring Without Repeating Characters

Given a string, find the length of the longest substrin […]

## LeetCode题目：Longest Palindromic Substring，二维动态规划

Updated at 2016-04-28 Question Longest Palindromic Subs […]

## LeetCode: Letter Combinations of a Phone Number

Letter Combinations of a Phone Number Given a digit str […]