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

Mastering the Fundamentals: Basic HTML Tags for Web Development Mastering the Fundamentals: Basic HTML Tags for Web Development

In this article, we'll explore the Basic HTML elements that form the foundation of every web page.

1 year ago By Mitali Gupta
Searching Algorithm.

Linear Search Algorithm in the Array traverse through each element in the give array and search the elements.

1 year ago By Aniket Prajapati
EdKool.com Launches: A New Destination for All Things Education & Technology

We're delighted to announce the launch of EdKool.com, a unique platform designed to bridge the gap between education and technology.

2 years ago By Santosh Kshirsagar
Level Order Traversal in Binary Tree

In a Binary Tree the level order traversal is used to traverse all the elements of binary tree by starting from root to traversing all nodes of one level before moving to other level.

1 year ago By Aniket Prajapati