- Write a program to reverse an array using recursion.
- How to reverse an array using recursive algorithm.

# Reverse Array Elements Using Recursion

# Program to Merge One Sorted Array into Another Sorted Array

- Write a program to merge to sorted array into one single sorted array.

# C Program to Find Majority Element of Array

- Write a program to find the majority element of an array.
- C program to find majority element using Moore’s Voting Algorithm.

# Find a Row of a Matrix Having Maximum Number of 1

- Write a program to find a row having maximum number of 1's in a row wise sorted boolean matrix.

# Program to Find a Sub Array Whose Sum is Zero

- Write a program to find a sub array whose sum is equal to 0.

# Find Largest Subarray with Equal Number of 0 and 1

- Write a program to find biggest sub-array having equal number of 0 and 1.

# Program to Find a Pair with Given Difference

- Write a program to find pairs of numbers whose difference is K.

# Find the Smallest Missing Positive Number in an Unsorted Array

- Write a program to find smallest positive missing number in O(n) time and O(1) space.

# Program to Find Duplicate Elements in Linear Time and Constant Space

- Write a program to find duplicate elements of array using linear time algorithm and using constant extra memory.

Subscribe to:
Posts
(
Atom
)