Courses
Tutorials
Interview Prep
DSA
Practice Problems
C
C++
Java
Python
JavaScript
Data Science
Machine Learning
Courses
Linux
DevOps
Similar Topics
Web Technologies
32.1K+ articles
DSA
20.4K+ articles
Python
19.6K+ articles
Experiences
15.8K+ articles
Interview Experiences
14.5K+ articles
School Learning
11.1K+ articles
JavaScript
9.9K+ articles
Java
9.4K+ articles
Misc
7.7K+ articles
Python Programs
3.7K+ articles
python searching-exercises
5 posts
Recent Articles
Linear Search - Python
Last Updated: 07 November 2025
Linear Search checks each element of a list one by one until the desired element is found or the list ends. Given an array,arrof n elements, and an elementx, find whether ...
read more
Python
Python Programs
python searching-exercises
Python Program for Anagram Substring Search (Or Search for all permutations)
Last Updated: 23 July 2025
Given a text txt[0..n-1] and a pattern pat[0..m-1], write a function search(char pat[], char txt[]) that prints all occurrences of pat[] and its permutations (or anagrams)...
read more
Python
python searching-exercises
Binary Search | Python
Last Updated: 20 December 2025
Binary Search is an efficient searching algorithm used to find an element in a sorted array by repeatedly dividing the search interval in half. It reduces the time complex...
read more
Python
python searching-exercises
Python Program for Rabin-Karp Algorithm for Pattern Searching
Last Updated: 23 July 2025
Given a text txt[0..n-1] and a pattern pat[0..m-1], write a function search(char pat[], char txt[]) that prints all occurrences of pat[] in txt[]. You may assume that n m...
read more
Python
python searching-exercises
Python Program for KMP Algorithm for Pattern Searching
Last Updated: 23 July 2025
Given a text txt[0..n-1] and a pattern pat[0..m-1], write a function search(char pat[], char txt[]) that prints all occurrences of pat[] in txt[]. You may assume that n m...
read more
Python
python searching-exercises