This repository is a collection of my LeetCode solutions in Java, organized by data structures and algorithms. It documents not only the problems I've solved, but also the concepts, problem-solving ...
i = m-1 #pointer to last element on nums1 j = n-1 #pointer to the last element on nums2 k = m+n-1 #pointer to last element on merged sorted array ...