#100daysofcode
Read more stories on Hashnode
Articles with this tag
Topic: Strings 1) Reverse Words in StringMedium Input: s = "a good example" Output: "example good a" Explanation: You need to reduce multiple...
Topic: Strings 1) Length of last wordEasy Input: s = " fly me to the moon " Output: 4 Explanation: The last word is "moon" with length...
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...