Skip to content

Instantly share code, notes, and snippets.

View steven-zou's full-sized avatar
🎯
Focusing

Steven Zou steven-zou

🎯
Focusing
  • VMware by Broadcom
  • Beijing, China
  • 06:40 (UTC +08:00)
View GitHub Profile

Semantic Commit Messages

See how a minor change to your commit message style can make you a better programmer.

Format: <type>(<scope>): <subject>

<scope> is optional

Example

@steven-zou
steven-zou / JMM(Java Memory Model)
Last active September 25, 2015 01:29
Record all the interview questions I met before
Java Thread <-> Work memory | |
| |
Java Thread <-> Work memory <-> | Save &Load | Major Memory
| |
Java Thread <-> Work memory | |
Memory operations:
lock -> major memory
unlock-> major memory
@steven-zou
steven-zou / Balanced Binary Tree
Last active August 29, 2015 14:05
Solution code for LeetCode problems
/**
* Definition for binary tree
* public class TreeNode {
* int val;
* TreeNode left;
* TreeNode right;
* TreeNode(int x) { val = x; }
* }
*/
public class Solution {