#java
Read more stories on Hashnode
Articles with this tag
Topic: Arrays 1) Remove Duplicates from Sorted ArrayEasy2) Remove Duplicates from Sorted Array IIMedium Remove Duplicates from Sorted Array Input:...
Topic: Arrays 1) Remove ElementEasy Input: nums = [0,1,2,2,3,0,4,2], val = 2 Output: 5, nums = [0,1,4,0,3,_,_,_] Explanation: Your function should...
Topic: Arrays 1) Merge Sorted ArraysEasy Input: nums1 = [1,2,3,0,0,0], m = 3, nums2 = [2,5,6], n = 3 Output: [1,2,2,3,5,6] Explanation: The arrays we...
Topic: Tree 1) Check for a balanced binary treeEasy Input: 1 / 2 \ 3 Output: 0 Explanation: The max difference in height of...
Topic: Tree 1) Level order traversal in Spiral formEasy2) Zig Zag TraversalEasy3) Maximum Width of Binary TreeEasy4) Left view of Binary TreeEasy5)...
Topic: Tree 1) Level order traversal Line by LineEasy 1 / \ 2 3 / \ / \ 4 5 6 7 \ 8 ...