0% found this document useful (0 votes)
5 views

pyproblems

Uploaded by

wadud68pabna
Copyright
© © All Rights Reserved
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
5 views

pyproblems

Uploaded by

wadud68pabna
Copyright
© © All Rights Reserved
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