Ends in 0d:00h:00m:00s

Buy 1 year, 🎁 Gift 1 year — completely FREE

Split the cost with a friend. You both get 12 months for $99.

Start FREE trial
Background Image

Buy 1 year, Gift 1 year — completely FREE

Start FREE trial

7-day free trial. Start Now!

Enroll for FREECard required • No charge today

With this course, you will:

  • Learn data structures and algorithms in Python
  • Practice with coding exerises
  • Earn a professional certificate
Fi Coin

Average Salary (US)

$113,000

Fi Box

Prerequisites

Fi Coin

Average Salary (US)

$113,000

Fi Box

Prerequisites

7-day free trial. Start Now!

Enroll for FREECard required • No charge today
Course Hero Image
Course

DSA with Python

Learn Data Structures and Algorithms With Python to master the art of writing highly efficient code and ace your coding interviews.

  • Level: Intermediate

  • Duration: 1 month

  • Type: Interactive

  • Language: English

  • Practice Problems: 95+

  • message-question

    Quizzes: 165+

Course Content

Chapter 21:

What's Next?

Python Certification

CERTIFICATE OF COMPLETION

This is to certify that

Jane Doe

has successfully completed the course

DSA with Python

Get Python certified

Get your skills verified with our certification.

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

JOB OPPORTUNITYCOMING LATER THIS YEAR

Receive job opportunities from top companies

Upon completion of the learning path, you will receive job opportunities from top countries around the world.

Start this Course

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 the key.
  • 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

Learn Python by Doing

Build hands-on projects that mirror real developer challenges. Apply what you learn immediately — so you can learn by doing, not just watching.

Hands on Learning
Smiling career coach at desk

Looking to break into tech?

Landing your first job is difficult - but you don't have to go at it by yourself.

Meet our career coaches who will help you craft your learning journey, master the right skills, and confidently launch your career in tech.

Feedback from our students

Rehab Mahoud
Programiz PRO made DSA learning effortless and exciting. The concise explanations and diagrams clarifies complex concepts instantly. Everything needed is in one place, can focus on reaching my goals.

Feedback from our students

Rehab Mahoud
Programiz PRO made DSA learning effortless and exciting. The concise explanations and diagrams clarifies complex concepts instantly. Everything needed is in one place, can focus on reaching my goals.
Sebastian Ladron
Good, well-explained theory is hard to come by and your lessons were pretty simple to understand. The interface is nice. The courses were enjoyable because of the structure, explanations, and interactivity.
Aagama AR
Completing the Complexity Calculation course was challenging yet rewarding, giving me a well-rounded understanding of concepts like time and space complexities while boosting my confidence.

Courses similar to this

Courses similar to this

Loading...Loading...

Join 1,000,000+ learners
turning skills into tech careers

Start your career in tech