Linear Search in C

Linear search in C is a searching method/algorithm. In the linear search algorithm, we traverse through the data structure from any one point and traverse until the data item is found in the data structure. These data structures could be array, string, Linked-List, Stack, Queue, or any other data structure. Linear Search Example: Find the … Read more

advertisement

C Program to Search Sorted Array using Binary Search

This is a C Program to implement Binary Search Algorithm. Problem Description We have to create a C Program which uses Binary search algorithm to predict that the element is present or not in the array. The user has to input a sorted array because binary search works on sorted array. Expected Input and Output … Read more

advertisement
Subscribe to our Newsletters (Subject-wise). Participate in the Sanfoundry Certification contest to get free Certificate of Merit. Join our social networks below and stay updated with latest contests, videos, internships and jobs!

Youtube | Telegram | LinkedIn | Instagram | Facebook | Twitter | Pinterest
Manish Bhojasia - Founder & CTO at Sanfoundry
Manish Bhojasia, a technology veteran with 20+ years @ Cisco & Wipro, is Founder and CTO at Sanfoundry. He lives in Bangalore, and focuses on development of Linux Kernel, SAN Technologies, Advanced C, Data Structures & Alogrithms. Stay connected with him at LinkedIn.

Subscribe to his free Masterclasses at Youtube & discussions at Telegram SanfoundryClasses.