#arrays
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: Arrays Questions Successfully Completed: 1 1) Find Duplicates in an ArrayEasy QuestionInput: N = 5 a[] = {2,3,1,2,3} Output: 2 3 Explanation:...
Topic: Arrays Questions Successfully Completed: 1 1) Help ClassmatesMedium QuestionInput: N = 5, arr[] = {3, 8, 5, 2, 25} Output: 2 5 2 -1 -1...
Topic: Arrays Questions Successfully Completed: 1 1) Rearrange Array AlternatelyMedium Rearrange Array Alternately package arrays; public class...