0% found this document useful (0 votes)
16 views4 pages

pyproblems

Uploaded by

wadud68pabna
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
16 views4 pages

pyproblems

Uploaded by

wadud68pabna
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 4

1.

Python Basics

Say "Hello, World!" With Python:


https://www.hackerrank.com/challenges/py-hello-world/problem
Arithmetic Operators: https://www.hackerrank.com/challenges/python-arithmetic-operators/
problem
Write a Function: https://www.hackerrank.com/challenges/write-a-function/problem
Python If-Else: https://www.hackerrank.com/challenges/py-if-else/problem
Loops: https://www.hackerrank.com/challenges/python-loops/problem
HackerRank Python Track: https://www.hackerrank.com/domains/python

2. Strings

String Split and Join: https://www.hackerrank.com/challenges/python-string-split-and-join/


problem
Mutations: https://www.hackerrank.com/challenges/python-mutations/problem
Find a String: https://www.hackerrank.com/challenges/find-a-string/problem
String Validators: https://www.hackerrank.com/challenges/string-validators/problem
Text Alignment: https://www.hackerrank.com/challenges/text-alignment/problem
Python String Exercises: https://www.w3resource.com/python-exercises/string/
HackerRank Strings Problems: https://www.hackerrank.com/domains/python/py-strings

3. Data Structures (Lists, Tuples, Dictionaries, Sets)

Lists: https://www.hackerrank.com/challenges/python-lists/problem
Tuples: https://www.hackerrank.com/challenges/python-tuples/problem
Find the Runner-Up Score!: https://www.hackerrank.com/challenges/find-second-maximum-
number-in-a-list/problem
Introduction to Sets: https://www.hackerrank.com/challenges/py-introduction-to-sets/problem
Symmetric Difference: https://www.hackerrank.com/challenges/symmetric-difference/problem
GeeksforGeeks Python Lists: https://www.geeksforgeeks.org/python-list/
CodeChef Data Structures: https://www.codechef.com/LEARNDSA

4. Functions and Recursion

Recursive Digit Sum: https://www.hackerrank.com/challenges/recursive-digit-sum/problem


The Power Sum: https://www.hackerrank.com/challenges/the-power-sum/problem
Factorial (Recursion): https://www.hackerrank.com/challenges/30-recursion/problem
Recursion in Python by RealPython: https://realpython.com/python-recursion/
TopCoder Recursion Examples: https://www.topcoder.com/thrive/articles/recursion-and-
backtracking

5. Itertools and Collections

Itertools Combinations: https://www.hackerrank.com/challenges/itertools-combinations/problem


DefaultDict Tutorial: https://www.hackerrank.com/challenges/defaultdict-tutorial/problem
Word Order: https://www.hackerrank.com/challenges/word-order/problem
Python itertools Module: https://docs.python.org/3/library/itertools.html
Collections Module Guide: https://realpython.com/python-collections-module/

6. Sorting and Searching

Tutorial Intro: https://www.hackerrank.com/challenges/tutorial-intro/problem


Closest Numbers: https://www.hackerrank.com/challenges/closest-numbers/problem
GeeksforGeeks Sorting: https://www.geeksforgeeks.org/sorting-algorithms/
Binary Search: https://www.hackerrank.com/challenges/binary-search-tree-1/problem

7. Dynamic Programming (Advanced)

The Maximum Subarray: https://www.hackerrank.com/challenges/maxsubarray/problem


Knapsack: https://www.hackerrank.com/challenges/unbounded-knapsack/problem
CP Algorithms DP: https://cp-algorithms.com/
GeeksforGeeks Dynamic Programming: https://www.geeksforgeeks.org/dynamic-programming/

General Practice Platforms

LeetCode: https://leetcode.com/problemset/all/
Codeforces: https://codeforces.com/
AtCoder Beginner Contests: https://atcoder.jp/
InterviewBit: https://www.interviewbit.com/

1. HackerRank Solutions
HackerRank has a collection of problems with solutions and discussions. You can find solutions
in Python for various problems here:
HackerRank Python Problems: https://www.hackerrank.com/domains/python

2. LeetCode Solutions

LeetCode offers a lot of solved problems in Python. You can search for problems and their
solutions here:
LeetCode Python Solutions: https://leetcode.com/problemset/all/?difficulty=EASY

3. GeeksforGeeks Solutions

GeeksforGeeks provides detailed solutions to various coding problems, often with explanations.
GeeksforGeeks Python Solutions: https://www.geeksforgeeks.org/python-programming-
language/

4. Codeforces Solutions

You can explore problem solutions and discuss different approaches in Python on Codeforces:
Codeforces Python Solutions: https://codeforces.com/problemset

5. GitHub Repositories for CP Python Solutions

There are several GitHub repositories with solved problems in Python. Some notable ones:

 Competitive Programming Python Solutions (GitHub)


 Python Competitive Programming Solutions (GitHub)

6. TopCoder Solutions

TopCoder has an active community and provides problem solutions on their forums.
TopCoder Problem Solutions: https://www.topcoder.com/challenges
7. CodeChef Solutions

CodeChef has an extensive archive of problems with solutions from contests and practice
problems:
CodeChef Python Solutions: https://www.codechef.com/problems/school

8. InterviewBit Solutions

InterviewBit also has a collection of solved coding problems, specifically focused on interview
preparation.
InterviewBit Python Solutions: https://www.interviewbit.com/courses/programming/

9. CP Algorithms

CP Algorithms has solutions to various competitive programming problems, including Python


implementations.
CP Algorithms Python Solutions: https://cp-algorithms.com/

You might also like