Limited Period Offer : 20% Discount on online/offline courses, for more details call/whatsapp

Binary Search top interview questrions.

1 min read
1 year ago By Aniket Prajapati

Binary Search Top interview questions.

(1) Binary search - https://www.geeksforgeeks.org/binary-search/

(2) 1st and last occurance of an element- https://www.geeksforgeeks.org/find-first-and-last-positions-of-an-element-in-a-sorted-array/

(3) Count of element in a sorted array- https://www.geeksforgeeks.org/count-number-of-occurrences-or-frequency-in-a-sorted-array/

(4) No. of times array is rotated-https://www.geeksforgeeks.org/find-rotation-count-rotated-sorted-array/

(5) Find element in a rotated sorted array-https://www.geeksforgeeks.org/search-an-element-in-a-sorted-and-pivoted-array/

(6) Search in a nearly sorted array- https://www.geeksforgeeks.org/search-almost-sorted-array/

(7) Floor/Ceil of an element-https://www.geeksforgeeks.org/find-floor-ceil-unsorted-array/

(8) Find position of element in infinite sorted array-https://www.geeksforgeeks.org/find-position-element-sorted-array-infinite-numbers/

(9) Min diff element in infinite sorted array - https://www.geeksforgeeks.org/find-minimum-difference-pair/

(10) Search in row & column wise sorted array - https://www.geeksforgeeks.org/search-in-row-wise-and-column-wise-sorted-matrix/

(11) Find element in soretd array that appear only once - https://leetcode.com/problems/single-element-in-a-sorted-array/

(12) Allocate minimum number of pages - https://practice.geeksforgeeks.org/problems/allocate-minimum-number-of-pages0937/1

(13) Bitonic array maximum element - https://practice.geeksforgeeks.org/problems/maximum-value-in-a-bitonic-array3001/1

(14) Search in a Bitonic array - https://www.geeksforgeeks.org/find-element-bitonic-array/

Jun 20, 2023 21:13 Back to Articles

Other Articles

Stack all Interview Questions .

In this Article all the problems related to stack is been uploaded for coding interview. Here there are questions which will help building your concept on stack from beginner to advance and you will be able to tackle any stack interview problem very easily.

1 year ago By Aniket Prajapati
Creating a Spinner Using Pure HTML and CSS Creating a Spinner Using Pure HTML and CSS

In this article, we will explore how to create a stylish spinner using pure HTML and CSS. The animated circle rotates indefinitely, offering visual feedback for ongoing processes on your web pages.

1 year ago By Mitali Gupta
Arrays Introduction

An array is a continuous block of memory location which can store data of same datatype.

1 year ago By Aniket Prajapati
Merge Two Sorted Linked List

Merge Two Sorted Linked List is a Standard Linked list Problem which is Frequently asked in Many Coding interviews. The basic idea is you have given Two Sorted Linked list which are sorted in its own and you have to return return a pointer node which has a merge single list of both the sorted list .

1 year ago By Aniket Prajapati