Start Now!
Enroll to Get StartedWith this course, you will:
- Learn data structures and algorithms in Python
- Practice with coding exerises
- Earn a professional certificate
Average Salary (US)
$113,000
Prerequisites
Average Salary (US)
$113,000
Prerequisites
Start Now!
Enroll to Get StartedCourse
DSA with Python
Learn Data Structures and Algorithms With Python to master the art of writing highly efficient code and ace your coding interviews.
Course Content
Chapter 1:
Introduction
Chapter 2:
Sorting Algorithms
Chapter 3:
Search Algorithms
Chapter 4:
Linked List
Chapter 5:
Circular Linked List
Chapter 6:
Doubly Linked List
Chapter 7:
Stacks and Queue
Chapter 8:
Hashing
Chapter 9:
String Matching Algorithms
Chapter 10:
Tree Data Structure
Chapter 11:
Binary Tree
Chapter 12:
Heaps
Chapter 13:
Graph Data Structure
Chapter 14:
Relationships in a Graph
Chapter 15:
Graph Based Algorithms
Chapter 16:
Greedy Algorithms
Chapter 17:
Sorting (II)
Chapter 18:
Balanced Trees
Chapter 19:
What's Next?
Don't just learn DSA
Solve practice problems in real-time
Linear Search
Instructions
- Define a function called
linear_search()
. - Go through the array sequentially, checking each element against the
key
. - If the element matches the
key
, return the index of thekey
. - Else, return
-1
.
Example
Suppose we have the following array:
[9, 10, 5, 8, 7, 4]
For input value:
5
The output of the program will be:
2
main.py
CERTIFICATE OF COMPLETION
This is to certify that
Jane Doe
has successfully completed the course
DSA with Python
Gain a competitive edge with our professional certifications
Showcase your expertise on LinkedIn and stand out from the crowd. Impress your potential employers.
CERTIFICATE OF COMPLETION
This is to certify that
Jane Doe
has successfully completed the course
DSA with Python
Feedback from our students
Feedback from our students
“The platform is wonderful and will continue to be a step above the rest of what's out there right now.”
“Learning to code is hard, but Programiz PRO has made it easy by being right by my side in my coding journey.”
“On Programiz PRO, the research work is already done by an expert in the background; all you need to do is focus on your learning.”