Skip to content
geeksforgeeks
  • Courses
    • DSA to Development
    • Get IBM Certification
    • Newly Launched!
      • Master Django Framework
      • Become AWS Certified
    • For Working Professionals
      • Interview 101: DSA & System Design
      • Data Science Training Program
      • JAVA Backend Development (Live)
      • DevOps Engineering (LIVE)
      • Data Structures & Algorithms in Python
    • For Students
      • Placement Preparation Course
      • Data Science (Live)
      • Data Structure & Algorithm-Self Paced (C++/JAVA)
      • Master Competitive Programming (Live)
      • Full Stack Development with React & Node JS (Live)
    • Full Stack Development
    • Data Science Program
    • All Courses
  • Tutorials
    • Data Structures & Algorithms
    • ML & Data Science
    • Interview Corner
    • Programming Languages
    • Web Development
    • CS Subjects
    • DevOps And Linux
    • School Learning
  • Practice
    • Build your AI Agent
    • GfG 160
    • Problem of the Day
    • Practice Coding Problems
    • GfG SDE Sheet
  • Contests
    • Accenture Hackathon (Ending Soon!)
    • GfG Weekly [Rated Contest]
    • Job-A-Thon Hiring Challenge
    • All Contests and Events
  • DSA
  • Practice Problems
  • Python
  • C
  • C++
  • Java
  • Courses
  • Machine Learning
  • DevOps
  • Web Development
  • System Design
  • Aptitude
  • Projects
Similar Topics
DSA
22.3k+ articles
Mathematical
7.7k+ articles
Arrays
6.4k+ articles
Strings
3.2k+ articles
Competitive Programming
2.3k+ articles
Greedy
2k+ articles
Algorithms
2k+ articles
Sorting
1.7k+ articles
Hash
1.2k+ articles
Binary Search
510+ articles
  1. DSA
  2. >
  3. Algorithms
  4. >
  5. Searching

Searching

1.7k+ posts
Searching Algorithms
Last Updated: 13 April 2025
Searching algorithms are essential tools in computer science used to locate specific items within a collection of data. In this tutorial, we...read more
image
Searching
DSA
Two Pointers Technique
Last Updated: 30 September 2024
Two pointers is really an easy and effective technique that is typically used for Two Sum in Sorted Arrays, Closest Two Sum, Three Sum, Four...read more
image
Arrays
Searching
Technical Scripter
two-pointer-algorithm
DSA
Linear Search Algorithm
Last Updated: 27 March 2025
Given an array, arr of n integers, and an integer element x, find whether element x is present in the array. Return the index of the first o...read more
image
Arrays
Searching
school-programming
CBSE - Class 11
DSA
Similar Topics
DSA
22.3k+ articles
Mathematical
7.7k+ articles
Arrays
6.4k+ articles
Strings
3.2k+ articles
Competitive Programming
2.3k+ articles
Greedy
2k+ articles
Algorithms
2k+ articles
Sorting
1.7k+ articles
Hash
1.2k+ articles
Binary Search
510+ articles
K’th Smallest Element in Unsorted Array
Last Updated: 14 August 2024
Given an array arr[] of N distinct elements and a number K, where K is smaller than the size of the array. Find the K'th smallest element in ...read more
Arrays
Order-Statistics
Microsoft
Amazon
Cisco
VMWare
Snapdeal
Accolite
SAP Labs
Rockstand
Searching
Heap
ABCO
DSA
Largest element in an Array
Last Updated: 27 December 2024
Given an array arr. The task is to find the largest element in the given array.Examples:Input: arr[] = [10, 20, 4]Output: 20Explanation: Amo ...read more
Arrays
Order-Statistics
Searching
Matrix
DSA
Basic Coding Problems
Binary Search Algorithm - Iterative and Recursive Implementation
Last Updated: 29 April 2025
Binary Search Algorithm is a searching algorithm used in a sorted array by repeatedly dividing the search interval in half. The idea of bina...read more
image
Oracle
Qualcomm
SAP Labs
Binary Search
Infosys
Divide and Conquer
Searching
TCS
Wipro
Accenture
DSA
DSA Tutorials
Given Array of size n and a number k, find all elements that appear more than n/k times
Last Updated: 05 April 2025
Given an array of size n and an integer k, find all elements in the array that appear more than n/k times.Examples:Input: arr[ ] = [3, 4, 2, ...read more
Arrays
Searching
Hash
DSA
Peak Element in Array
Last Updated: 27 February 2025
Given an array arr[] where no two adjacent elements are same, find the index of a peak element. An element is considered to be a peak elemen...read more
image
Arrays
Amazon
Adobe
Visa
Divide and Conquer
Searching
DSA
Median of two Sorted Arrays of Different Sizes
Last Updated: 27 April 2025
Given two sorted arrays, a[] and b[], the task is to find the median of these sorted arrays. Assume that the two sorted arrays are merged an...read more
image
Binary Search
Divide and Conquer
Searching
statistical-algorithms
median-finding
DSA
Longest Increasing Subsequence (LIS)
Last Updated: 03 March 2025
Given an array arr[] of size n, the task is to find the length of the Longest Increasing Subsequence (LIS) i.e., the longest possible subseq...read more
image
Amazon
Samsung
Zoho
Binary Search
Dynamic Programming
Searching
LIS
DSA
Count number of occurrences (or frequency) in a sorted array
Last Updated: 09 November 2024
Given a sorted array arr[] and an integer target, the task is to find the number of occurrences of target in given array.Examples:Input: arr ...read more
Arrays
Amazon
MakeMyTrip
Divide and Conquer
Searching
DSA
Find k largest elements in an array
Last Updated: 06 February 2025
Given an array arr[] and an integer k, the task is to find k largest elements in the given array. Elements in the output array should be in ...read more
Arrays
Order-Statistics
Microsoft
Amazon
Samsung
Walmart
Searching
Sorting
Heap
DSA
Maximum and minimum of an array using minimum number of comparisons
Last Updated: 14 September 2024
Given an array of size N. The task is to find the maximum and the minimum element of the array using the minimum number of comparisons.Examp ...read more
Arrays
Divide and Conquer
Searching
Arrays
Numbers
DSA
Search in a Sorted and Rotated Array
Last Updated: 07 December 2024
Given a sorted and rotated array arr[] of n distinct elements, the task is to find the index of given key in the array. If the key is not pr...read more
image
Arrays
Microsoft
Amazon
Adobe
Flipkart
Samsung
D-E-Shaw
Snapdeal
Paytm
Hike
BankBazaar
SAP Labs
MakeMyTrip
Binary Search
FactSet
Searching
Times Internet
rotation
DSA
Find the Missing Number
Last Updated: 19 April 2025
Given an array arr[] of size n-1 with distinct integers in the range of [1, n]. This array represents a permutation of the integers from 1 t ...read more
Arrays
Microsoft
Amazon
Morgan Stanley
Qualcomm
Samsung
Cisco
Accolite
Payu
Visa
Ola Cabs
Searching
Bitwise-XOR
limited-range-elements
DSA
1 2 3 4 5 6 7 8 >>
Last
1 2 3 4 5 6 >>
Last
1 2 3 4 >>
Last
geeksforgeeks-footer-logo
Corporate & Communications Address:
A-143, 7th Floor, Sovereign Corporate Tower, Sector- 136, Noida, Uttar Pradesh (201305)
Registered Address:
K 061, Tower K, Gulshan Vivante Apartment, Sector 137, Noida, Gautam Buddh Nagar, Uttar Pradesh, 201305
GFG App on Play Store GFG App on App Store
Advertise with us
  • Company
  • About Us
  • Legal
  • Privacy Policy
  • In Media
  • Contact Us
  • Advertise with us
  • GFG Corporate Solution
  • Placement Training Program
  • Languages
  • Python
  • Java
  • C++
  • PHP
  • GoLang
  • SQL
  • R Language
  • Android Tutorial
  • Tutorials Archive
  • DSA
  • Data Structures
  • Algorithms
  • DSA for Beginners
  • Basic DSA Problems
  • DSA Roadmap
  • Top 100 DSA Interview Problems
  • DSA Roadmap by Sandeep Jain
  • All Cheat Sheets
  • Data Science & ML
  • Data Science With Python
  • Data Science For Beginner
  • Machine Learning
  • ML Maths
  • Data Visualisation
  • Pandas
  • NumPy
  • NLP
  • Deep Learning
  • Web Technologies
  • HTML
  • CSS
  • JavaScript
  • TypeScript
  • ReactJS
  • NextJS
  • Bootstrap
  • Web Design
  • Python Tutorial
  • Python Programming Examples
  • Python Projects
  • Python Tkinter
  • Python Web Scraping
  • OpenCV Tutorial
  • Python Interview Question
  • Django
  • Computer Science
  • Operating Systems
  • Computer Network
  • Database Management System
  • Software Engineering
  • Digital Logic Design
  • Engineering Maths
  • Software Development
  • Software Testing
  • DevOps
  • Git
  • Linux
  • AWS
  • Docker
  • Kubernetes
  • Azure
  • GCP
  • DevOps Roadmap
  • System Design
  • High Level Design
  • Low Level Design
  • UML Diagrams
  • Interview Guide
  • Design Patterns
  • OOAD
  • System Design Bootcamp
  • Interview Questions
  • Inteview Preparation
  • Competitive Programming
  • Top DS or Algo for CP
  • Company-Wise Recruitment Process
  • Company-Wise Preparation
  • Aptitude Preparation
  • Puzzles
  • School Subjects
  • Mathematics
  • Physics
  • Chemistry
  • Biology
  • Social Science
  • English Grammar
  • Commerce
  • World GK
  • GeeksforGeeks Videos
  • DSA
  • Python
  • Java
  • C++
  • Web Development
  • Data Science
  • CS Subjects
@GeeksforGeeks, Sanchhaya Education Private Limited, All rights reserved
We use cookies to ensure you have the best browsing experience on our website. By using our site, you acknowledge that you have read and understood our Cookie Policy & Privacy Policy
Lightbox