All about Singleton – Important and Interesting Pattern in Java

All About Singleton – Important and Interesting pattern in Java Edit this problem on GitHub   Introduction Briefly, Singleton pattern is to ensure a class to have exactly one instance

How to tell if two linked lists intersect V.S. How to detect linked list cycle

How to tell if two linked lists intersect V.S. How to detect linked list cycle I am really excited to bring this, it’s gonna be fun, hope you enjoy. Edit

Leetcode 150: Evaluate Reverse Polish Notation

Leetcode 150: Evaluate Reverse Polish Notation Edit Evaluate Reverse Polish Notation on GitHub First you should know the definition of Reverse Polish Notation, it is quite interesting, postfix, stack-based, 😀

Leetcode 7 Reverse Integer and 8 String to Integer (atoi)

Leetcode 7 Reverse Integer and 8 String to Integer (atoi) This two problem share lots of similarities in data manipulating and thinking, and simplicity (:-D). Thus I decide to put

AngularJS two-way data-binding on jQuery Select2

AngularJS two-way data-binding on jQuery Select2  Edit this page on GitHub As we all know, the <select> and <option> tag can provide dropdown for selecting. However, no one would call