Program to Move All Zeroes to the End of Array.
Given an integer array arr[] of size n, the task is to move all zeroes (0's) to the end of the array while maintaining the relative ord...
Read More →
Program to Remove Duplicate From Sorted Array in C++.
Given an integer array arr[] sorted in ascending order, the task is to remove duplicate elements such that the relative order of the elemen...
Read More →
Find a Palindromic String in the Array.
Given an array of strings words [] , write a program to return the first palindromic string in the array. If there is no such palindromic st...
Read More →
Program to Find Number of Arithmetic Triplets.
Given a zero-based strictly increasing integer array arr[] , and a positive integer diff . Write a program to return the number of unique a...
Read More →