# Category: Array

## Merge two sorted arraysMerge two sorted arrays

Merge two sorted arrays Given two sorted arrays, the task is to merge them in

## Find subarray with given sumFind subarray with given sum

Find subarray with given sum Given an unsorted array of nonnegative integers, find a continuous

## Stock Buy Sell to Maximize ProfitStock Buy Sell to Maximize Profit

Stock Buy Sell to Maximize Profit The cost of a stock on each day is

## Program to find largest element in an arrayProgram to find largest element in an array

Program to find largest element in an array Given an array, find the largest element

## Sort an array of 0s, 1s and 2sSort an array of 0s, 1s and 2s

Sort an array of 0s, 1s and 2s Given an array A[] consisting 0s, 1s

## Linked List vs ArrayLinked List vs Array

Linked List vs Array Arrays store elements in contiguous memory locations, resulting in easily calculable

## Array of Strings in C++Array of Strings in C++

Array of Strings in C++ (All Different Ways to Create) In C and C++, a

## Find the Missing NumberFind the Missing Number

Find the Missing Number You are given a list of n-1 integers and these integers

## Multidimensional Arrays in JavaMultidimensional Arrays in Java

Multidimensional Arrays in Java Multidimensional Arrays can be defined in simple words as array of

## Linear SearchLinear Search

Linear Search Problem: Given an array arr[] of n elements, write a function to search