## 1st occurrence in a sorted array

Given a sorted array of N integers, write a program to find the index of the first occurrence of the

## Search in an infinite sorted array

Problem Statement: “Given an array containing infinite sorted integers and an element,  write a program to find the position of

## Time Complexity of binary search using Recursion Tree

What is Binary Search? Binary Search is the shortest way of finding the element in an array (Assuming – all

## Count Occurrences in Sorted Array

Problem Statement: You are given a sorted array containing N integers and a number X, you have to find the

## Operations on Arrays

What is an array? An array is a data structure that stores homogeneous/same data type values in it, and the

## Binary Search : Analysis

Binary Search : Space/Time Complexity Analysis of Binary Search Binary search is one of the searching algorithms which falls into

## Binary Search: Explained

This is the very first article of the Binary Search series. Until now, we have learned the linear search algorithm.

## Median of Two Sorted Arrays of different sizes

Problem Statement: Given two sorted arrays arr1 and arr2 of size m and n respectively, return the median of the