TongTong Shi's Blog
A Playground to Share My Knowledge
Array of Doubled Pairs Array of Doubled Pairs
LeetCode Q 954 - Array of Doubled PairsGiven an array of integers A with even length, return true if and only if it is
2019-06-26 Tong Shi
Clumsy Factorial Clumsy Factorial
LeetCode Q 1006 - Clumsy FactorialNormally, the factorial of a positive integer n is the product of all positive intege
2019-06-26 Tong Shi
Project - Groupbuy App Part III Project - Groupbuy App Part III
prev Angular Basics II - Decorator & Directive1. Decorator(Annotation)Annotation or Decorator is esssentially a func
2019-06-25 Tong Shi
Proxy Design Pattern Proxy Design Pattern
1. What is proxy?Definition in Wikipedia is: A proxy is a class functioning as an interface to something else. The prox
2019-06-25 Tong Shi
Complement of Base 10 Integer Complement of Base 10 Integer
LeetCode Q 1009 - Complement of Base 10 IntegerEvery non-negative integer N has a binary representation. For example, 5
2019-06-25 Tong Shi
Robot Bounded In Circle Robot Bounded In Circle
LeetCode Q 1041 - Robot Bounded In CircleOn an infinite plane, a robot initially stands at (0, 0) and faces north. The
2019-06-25 Tong Shi
19 / 79