Tiger's leetcode solution

Wednesday, November 27, 2013

150. Evaluate Reverse Polish Notation. (medium)

›
Evaluate the value of an arithmetic expression in  Reverse Polish Notation . Valid operators are  + ,  - ,  * ,  / . Each operand may be ...
Tuesday, November 26, 2013

148. Sort List ---- Medium !!!!!!!

›
Given the  head  of a linked list, return  the list after sorting it in  ascending order .   Example 1: Input: head = [4,2,1,3] Output: [1...
Monday, November 25, 2013

Insertion Sort List

›
Q: Sort a linked list using insertion sort. A: /** * Definition for singly-linked list. * public class ListNode { * int val; * ...
Friday, November 8, 2013

Wildcard Matching ~~~~~~~~~~~~~~~~~~~~~~~

›
Implement wildcard pattern matching with support for '?' and '*' . '?' Matches any single character. '*' M...
Thursday, November 7, 2013

145. Binary Tree Postorder Traversal -----------E

›
Given the  root  of a binary tree, return the  postorder  traversal of its nodes' values. Follow up:  Recursive solution is trivial, cou...
‹
›
Home
View web version

About Me

Tiger
View my complete profile
Powered by Blogger.