Data Structure and Algorithms | 2019-11-25 Leetcode 39. Combination Sum Question Given an array and a target value, find all unique combination of num ...
Data Structure and Algorithms | 2019-11-24 Leetcode 34. Find First and Last Position of Element in Sorted Array Question Find the first and last location of target value in a sorted array. Algorithm need to run ...
Data Structure and Algorithms | 2019-11-23 Leetcode 33. Search in Rotated Sorted Array Question The original array is sorted, but rotated at some pivot index. We need to find the target ...
Data Structure and Algorithms | 2019-11-19 Leetcode 31: Next Permutation Question This problem is a bit hard to understand. Suppose we have number 123, then the permutati ...
Java | 2019-11-18 Java 8 Optional Java 8 introduced Optional class to avoid NullPointerException. Basically Optional class is a contai ...
Data Structure and Algorithms | 2019-11-18 Leetcode 18: 4Sum Question Similar to Question 15: 3Sum. This time we want to find all 4 numbers that add up to the ...
Data Structure and Algorithms | 2019-11-16 Leetcode 16: 3Sum Closest Question Similar to Question 15: 3Sum. This time we want to find the 3 sum that is closest to the ...
Data Structure and Algorithms | 2019-11-15 Leetcode 15: 3Sum Question Given an array, find all unique triplets that add up to 0 Similar Questions Easy - 1. Tw ...
Java | 2019-11-15 How to deserialize Json content with unknown property when using Jackson When using Jackson to deserialize a Json string, if the Java object does’t include all the fields in ...
Data Structure and Algorithms | 2019-11-11 Leetcode 11: Container With Most Water Question Each element of the array represents a height of a column. We want to pick 2 columns that ...