## Program to copy the contents of one array into another in the reverse order

Given an array, the task is to copy these array elements into another array in reverse array. Examples: Input: array: 1 2 3 4 5… Read More »

- Length of the longest Subarray with only Even Elements
- Check whether an Array is Subarray of another Array
- Count Occurences of Anagrams
- Find the largest number that can be formed with the given digits
- Smallest Integer to be inserted to have equal sums
- Check if array can be sorted with one swap
- How to access elements of a Square Matrix
- Convert an Array to a Circular Doubly Linked List
- Sort the array in a given index range
- Problem of 8 Neighbours of an element in a 2-D Matrix
- Check if it is possible to create a palindrome string from given N
- Find duplicate in an array in O(n) and by using O(1) extra space
- Program to copy the contents of one array into another in the reverse order
- Difference between a Static Queue and a Singly Linked List
- Array to ArrayList Conversion in Java
- Pair with maximum difference in a Matrix
- Print all the combinations of N elements by changing sign such that their sum is divisible by M
- Sum of elements in range L-R where first half and second half is filled with odd and even numbers
- Pair with maximum sum in a Matrix
- Count elements that are divisible by at-least one element in another array
- Reverse nodes of a linked list without affecting the special characters
- Extract unique objects by attribute from array of objects.

Given an array, the task is to copy these array elements into another array in reverse array. Examples: Input: array: 1 2 3 4 5… Read More »

Given an array arr[] of N integers and an index range [a, b]. The task is to sort the array in this given index range… Read More »

Given an array of objects and the task is to return the unique object by the attribute. Examples: Input: [ { name: ‘Geeks’, id: 10… Read More »

Given an array containing N elements. Find if it is possible to sort it in non-decreasing order using atmost one swap. Examples: Input : arr[]… Read More »

Given a 2-D Matrix and an integer ‘K’, the task is to predict the matrix after ‘K’ iterations given as follows: An element 1 in… Read More »

Given two arrays A[] and B[] consisting of and integers. The task is to check whether the array B[] is a subarray of the array… Read More »

Static Queue: A queue is an ordered list of elements. It always works in first in first out(FIFO) fashion. All the elements get inserted at… Read More »

Given an array of positive integers, find the smallest non-negative integer (i.e. greater than or equal to zero) that can be placed between any two… Read More »

Given a NxM matrix with N rows and M columns of positive integers. The task is to find the pair with the maximum difference in… Read More »

Given a NxM matrix with N rows and M columns of positive integers. The task is to find the sum of pair with maximum sum… Read More »

Given a number N. The task is to create an alphabetical string in lower case from that number and tell whether the string is palindrome… Read More »

A square matrix is a matrix in which contains elements in the form of Rows and Columns. Below is an example of a 5×5 matrix.… Read More »

Given an array arr[]. The task is to find the length of the longest subarray of arr[] such that it contains only even elements. Examples:… Read More »

Given two arrays arr1[] and arr2[]. The task is to find the count of such elements in the first array whose at-least one factor is… Read More »

Prerequisite: Doubly Linked list, Circular Linked List, Circular Doubly Linked List Given an array of N elements. The task is to write a program to… Read More »