TongTong Shi's Blog
A Playground to Share My Knowledge
synchronized Keyword in Java synchronized Keyword in Java
1. Introduction The synchronized keyword is all about different threads reading and writing to the same variables,
2019-04-16 Tong Shi
Java Thread - Commonly Used Methods - java.lang.Object Class Java Thread - Commonly Used Methods - java.lang.Object Class
wait() and notify() method is in java.lang.Object ClassWhy they are in java.lang.Object Class rather than in java.lang.T
2019-04-16 Tong Shi
Find Right Interval Find Right Interval
LeetCode Q 436 - Find Right IntervalGiven a set of intervals, for each of the interval i, check if there exists an inter
2019-04-16 Tong Shi
The Skyline Problem The Skyline Problem
LeetCode Q 218 - The Skyline ProblemA city’s skyline is the outer contour of the silhouette formed by all the buildings
2019-04-16 Tong Shi
Is Subsequence Is Subsequence
LeetCode Q 392 - Is SubsequenceGiven a string s and a string t, check if s is subsequence of t.You may assume that there
2019-04-16 Tong Shi
Kth Smallest Element in a Sorted Matrix Kth Smallest Element in a Sorted Matrix
LeetCode Q 378 - Kth Smallest Element in a Sorted MatrixGiven a n x n matrix where each of the rows and columns are sort
2019-04-16 Tong Shi
68 / 79