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
Introduction to Django

A high-level Python web framework called Django makes it possible for programmers to create web applications rapidly and effectively. It adheres to the Model-View-Controller (MVC) architectural design pattern, placing emphasis on the division of duties and encouraging code reuse. Django offers a comprehensive collection of conventions, frameworks, and tools that speed up development and promote best practises.

How to connect aws RDS instance using mysql workbench

Learn to connect RDS instance(mysql/mariadb) using mysql workbech.

1 year ago By Santosh Kshirsagar
For Laravel Setting UP CI/CD Pipeline using GitHub, CodeDeploy, S3 and EC2

Setting ci/cd pipeline for laravel application on aws using github actions then uploading to s3 and using codedeploy application gets installled on EC2 instance

1 year ago By Santosh Kshirsagar