|
1 | 1 | # 100 Plus Python Coding Problems With Solutions |
2 | 2 | --- |
| 3 | +Welcome to the Python problem-solving world. |
3 | 4 |
|
4 | | -## 2. Page Outline |
| 5 | +Here, we will take a real-world coding related problem. We will think about the process of solving the problem and then we will solve it. After the solution, we will explain the answer. |
5 | 6 |
|
6 | | -* ### 1 - Easy ones - 1-5 |
| 7 | +## Table of Contents: |
| 8 | + |
| 9 | +## 1 - Easy ones |
7 | 10 | * **[1.1](Easy-ones/User-input-to-Number.md "Convert input")** - **[Convert input](/Easy-ones/User-input-to-Number.md)** |
8 | 11 | * **[1.2](Easy-ones/Math-Power.md "Math power")** - **[Math power](/Easy-ones/Math-Power.md)** |
9 | 12 | * **[1.3](Easy-ones/Math-Power.md "Floor Division")** - **[Floor Division](/Easy-ones/Random-Number.md)** |
10 | 13 | * **[1.4](/Easy-ones/Floor-Division.md "Floor Division")** - **[Floor Division](/Easy-ones/Floor-Division.md)** |
11 | 14 | * **[1.5](Easy-ones/Temporary-variable.md "Temporary variable")** - **[Temporary variable](/Easy-ones/Temporary-variable.md)** |
12 | 15 |
|
13 | 16 |
|
14 | | -* ### 2 - Number Related - 6-10 |
| 17 | +## 2 - Number Related |
15 | 18 | * **[2.1](Number-Relate "Max of two")** - **[Max of two](/Number-Relate)** |
16 | 19 | * **[2.2](Number-Related/Math-Power.md "Max of three")** - **[Max of three](/Number-Related/User-input-to-Number.md)** |
17 | 20 | * **[2.3](Number-Related/Math-Power.md "Average of numbers")** - **[Average of numbers](/Number-Related/Math-Power.md)** |
18 | 21 | * **[2.4](Number-Related/Divisible-by-3-and-5.md "Divisible by 3 and 5")** - **[Divisible by 3 and 5](/Number-Related/Divisible-by-3-and-5.md)** |
19 | 22 | * **[2.5](Number-Related/Sum-of-digits.md "Sum of digits")** - **[Sum of digits](Loop-Related/Sum-of-digits.md)** |
20 | 23 |
|
21 | 24 |
|
22 | | -* ### 3 - Loop Related - 11-16 |
| 25 | +## 3 - Loop Related |
23 | 26 | * **[3.1](Loop-Related/Coin-sum.md "Sum of elements")** - **[Sum of elements](Loop-Related/Coin-sum.md)** |
24 | 27 | * **[3.2](Loop-Related/Largest-element-of-a-list.md "Largest element of a list")** - **[Largest element of a list](Loop-Related/Largest-element-of-a-list.md)** |
25 | 28 | * **[3.3](Loop-Related/Sum-of-squares.md "Sum of squares")** - **[Sum of squares](Loop-Related/Sum-of-squares.md)** |
|
28 | 31 | * **[3.6](Loop-Related/Remove-duplicate-Chars.md "Remove duplicate Chars")** - **[Remove duplicate Chars](Loop-Related/Remove-duplicate-Chars.md)** |
29 | 32 |
|
30 | 33 |
|
31 | | -* ### 4 - Conversions - 17-21 |
| 34 | +## 4 - Conversions |
32 | 35 | * **[4.1](Conversions/Celsius-to-Fahrenheit.md "Miles to Kilometers")** - **[Miles to Kilometers](Conversions/Celsius-to-Fahrenheit.md)** |
33 | 36 | * **[4.2](Conversions/Decimal-to-binary.md "Celsius to Fahrenheit")** - **[Celsius to Fahrenheitt](Conversions/Decimal-to-binary.md)** |
34 | 37 | * **[4.3](Conversions/Decimal-to-binary-recursive.md "Decimal to binary")** - **[Decimal to binary](Conversions/Decimal-to-binary-recursive.md)** |
35 | 38 | * **[4.4](Conversions/Decimal-to-binary-recursive.md "Decimal to binary (recursive)")** - **[Decimal to binary (recursive)](Conversions/Decimal-to-binary-recursive.md)** |
36 | 39 | * **[4.5](https://play.google.com/store/apps/details?id=com.learnprogramming.codecamp "Binary to decimal")** - **[Binary to decimal](premium)** **- Premium Access** |
37 | 40 |
|
38 | | -* ### [5](Solution-Strategy.md "Solution Strategy") - [Solution Strategy](Solution-Strategy.md) |
| 41 | +## [5](Solution-Strategy.md "Solution Strategy") - [Solution Strategy](Solution-Strategy.md) |
39 | 42 |
|
40 | | -* ### 6 - Computations - 23-27 |
| 43 | +## 6 - Computations |
41 | 44 |
|
42 | 45 | * **[6.1](Computations/Simple-Interest.md "Simple Interest")** - **[Simple Interest](Computations/Simple-Interest.md)** |
43 | 46 | * **[6.2](Computations/Complex-Interest.md "Complex Interest")** - **[Complex Interest](Computations/Complex-Interest.md)** |
44 | 47 | * **[6.3](Computations/Calculate-Grades.md "Calculate Grades)")** - **[Calculate Grades](Computations/Calculate-Grades.md)** |
45 | 48 | * **[6.4](Computations/Gravitational-Force.md "Gravitational Force)")** - **[Gravitational Force](Computations/Gravitational-Force.md)** |
46 | 49 | * **[6.5](Computations/Triangle-Area.md "Triangle Area)")** - **[Triangle Area](Computations/Triangle-Area.md)** |
47 | 50 |
|
48 | | -* ### 7 - Prime number - 28-31 |
| 51 | +## 7 - Prime number |
49 | 52 |
|
50 | 53 | * **[7.1](Prime-number/Check-Prime.md "Check Prime")** - **[Check Prime](Solution-Strategy.md)** |
51 | 54 | * **[7.2](Prime-number/Prime-Numbers.md "Prime Numbers")** - **[Prime Numbers](Prime-number/Prime-Numbers.md)** |
52 | 55 | * **[7.3](Prime-number/Prime-factors.md "Prime factors")** - **[Prime factors](Prime-number/Prime-factors.md)** |
53 | 56 | * **[7.4](Prime-number/Smallest-prime-factor.md "Smallest prime factor")** - **[Smallest prime factor](Prime-number/Smallest-prime-factor.md)** |
54 | 57 |
|
55 | | -* ### 8 - Reverse - 32-36 |
| 58 | +## 8 - Reverse |
56 | 59 |
|
57 | 60 | * **[8.1](Reverse/Reverse-String.md "Reverse String")** - **[Reverse String](Reverse/Reverse-String.md)** |
58 | 61 | * **[8.2](Reverse/Reverse-String-(stack).md "Reverse String (stack)")** - **[Reverse String (stack)](Reverse/Reverse-String-(stack).md)** |
59 | 62 | * **[8.3](Reverse/Reverse-String-(recursive).md "Reverse String (recursive)")** - **[Reverse String (recursive)](Reverse/Reverse-String-(recursive).md)** |
60 | 63 | * **[8.4](Reverse/Reverse-Number.md "Reverse Number")** - **[Reverse Number](Reverse/Reverse-Number.md)** |
61 | 64 | * **[8.5](Reverse/Reverse-word.md "Reverse word")** - **[Reverse word](Reverse/Reverse-word.md)** |
62 | 65 |
|
63 | | -* ### 9 - Medium - 37-43 |
| 66 | +## 9 - Medium |
64 | 67 |
|
65 | 68 | * **[9.1](Medium/Check-palindrome.md "Check palindrome")** - **[Check palindrome](Medium/Check-palindrome.md)** |
66 | 69 | * **[9.2](Medium/Dictionary-of-cubes.md "Dictionary of cubes")** - **[Dictionary of cubes](Medium/Dictionary-of-cubes.md)** |
67 | 70 | * **[9.3](Medium/Armstrong-number.md "Armstrong number")** - **[Armstrong number](Medium/Armstrong-number.md)** |
68 | 71 | * **[9.4](Medium/Greatest-common-divisor.md "Greatest common divisor")** - **[Greatest common divisor](Medium/Greatest-common-divisor.md)** |
69 | 72 | * **[9.5](Medium/Least-Common-Multiple.md "Least Common Multiple")** - **[Least Common Multiple](Medium/Least-Common-Multiple.md)** |
70 | 73 |
|
71 | | -* ### [10](Programming-Contest.md "Programming Contest") - [Programming Contest](Programming-Contest.md) |
| 74 | +## [10](Programming-Contest.md "Programming Contest") - [Programming Contest](Programming-Contest.md) |
72 | 75 |
|
73 | | -* ### 11 - Simple Game - 45-50 |
| 76 | +## 11 - Simple Game |
74 | 77 |
|
75 | 78 | * **[11.1](Simple-Game/Guess-game.md "Guess game")** - **[Guess game](Simple-Game/Guess-game.md)** |
76 | 79 | * **[11.2](Simple-Game/Rock-paper-scissor.md "Rock paper scissor")** - **[Rock paper scissor](Simple-Game/Rock-paper-scissor.md)** |
|
79 | 82 | * **[11.5](Simple-Game/Word-completion.md "Word completion")** - **[Word completion](Simple-Game/Word-completion.md)** |
80 | 83 | * **[11.6](Simple-Game/Word-hangman.md "Word hangman")** - **[Word hangman](Simple-Game/Word-hangman.md)** |
81 | 84 |
|
82 | | -* ### 12 - Harder - 51-55 |
| 85 | +## 12 - Harder |
83 | 86 |
|
84 | 87 | * **[12.1](Harder/Simple-Calculator.md "Simple Calculator")** - **[Simple Calculator](Harder/Simple-Calculator.md)** |
85 | 88 | * **[12.2](Harder/Password-generator.md "Password generator")** - **[Password generator](Harder/Password-generator.md)** |
|
88 | 91 | * **[12.5](Harder/Simple-Calculator.md "Generate Sentences")** - **[Generate Sentences](Harder/Simple-Calculator.md)** |
89 | 92 |
|
90 | 93 |
|
91 | | -* ### 13 - User Submitted - 56-58 |
| 94 | +## 13 - User Submitted |
92 | 95 |
|
93 | 96 | * **[13.1](User-Submitted/Simple-Clock.md "Simple Digital Clock")** - **[Simple Clock](User-Submitted/Simple-Clock.md)** |
94 | 97 | * **[13.2](User-Submitted/Birthday-remaining.md "Birthday-remaining.md")** - **[Birthday-remaining.md](User-Submitted/Birthday-remaining.md)** |
95 | 98 | * **[13.3](User-Submitted/Calculate-age.md "Calculate age")** - **[Calculate age](User-Submitted/Calculate-age.md)** |
96 | 99 |
|
97 | 100 |
|
98 | | -## 0: Introduction |
99 | | - |
100 | | -### Welcome |
101 | | -Welcome to the problem-solving galaxy. |
102 | | - |
103 | | -### Problem Solving |
104 | | -In this galaxy, we will focus on real-world coding related problem-solving. |
105 | | - |
106 | | -The problem-solving means, we will take a small programming problem. We will think about the process of solving the problem and then we will solve it. |
107 | | - |
108 | | -## Explanation |
109 | | -After the solution, we will explain the answer. Convey the concept and strategy to solve it. |
110 | | - |
111 | | -### Purpose |
112 | | -Solving coding problems helps you to think about the problem. It will make you a better developer. Moreover, if you want to participate in a programming contest, you need to practice problem-solving. |
113 | 101 |
|
114 | | -### Interview |
115 | | -Besides, large companies like Google, Facebook, Amazon, Uber, etc. ask a lot of problem-solving related questions in their job interview.<br><br>If you want to work any of these large companies, you should practice problem-solving. |
116 | 102 |
|
117 | 103 |
|
118 | 104 | ### Many solutions |
|
0 commit comments