Solving Russian Doll Envelopes in go. Please try yourself first to solve the problem and submit your implementation to LeetCode before looking into solution.

Problem Description

What is the maximum number of envelopes can you Russian doll? (put one inside other)

**Note:**Rotation is not allowed.


**Input:** [[5,4],[6,4],[6,7],[2,3]]
**Output:** 3
**Explanation: T**he maximum number of envelopes you can Russian doll is 3 ([2,3] => [5,4] => [6,7]).

See the full details of the problem Russian Doll Envelopes at LeetCode

Originally posted at: