/Programming-Practice

Newcomers Programming Practice Problems

Primary LanguageC++

Hacktoberfest-2022

Hey 👋 everyone , hacktoberfest is back with biggest beginners friendly opensource event. Event will start from 1st of October and will remain upto 31st October 2022.

What you need to do in this event?

You need to generate 4 valid pull request and want to contribute in opensource

let's discuss how you can contribute in hacktoberfest 2022 🙌

Rules :

1) Fork this repository first

2) Star this repository⭐

3) Add code according to your need with proper extension eg bubbleSort.cpp linearSearch.py

Some Code Guidelines:

  1. Variable name should be meaningful.
  2. Use comments in your code for you logics.
  3. Your Code must be pretty formated.

After a valid pull request your code will be carefully reviewed and if it matches the rule then it will be accepted otherwise you need to generate a new file.

End note.

It's a great privilege of Contributors to contribute at Hacktoberfest 2022. All valid pull request will be accepted, this process may take sometime but don't worry.

Join our community for more events

Telegram

Keep smiling 😄

Happy coding 🥳

Programming-Practice

This Repository was made for newcomers in programming who are looking for an online training to improve their knowledge in basic programming skills. In the "Repository" you will find the topics and its problems.

Data Type & Conditions

# Title Solution
1 Say Hello With C++ C++
2 Basic Data Types C++
3 Simple Calculator
4 Difference C++
5 Area of a Circle
6 Digits Summation
7 Summation from 1 to N
8 Two numbers C++
9 Welcome for you with Condition
10 Multiples
11 Max and Min
12 The Brothers C++
13 Capital or Small or Digit
14 Char C++
15 Calculator C++
16 First digit ! C++
17 Coordinates of a Point C++
18 Age in Days
19 Interval
20 Sort Numbers
21 Float or int
22 Comparison
23 Mathematical Expression
24 Two intervals
25 The last 2 digits
26 Hard Compare

Loops

# Title Solution
27 The last 2 digits
28 1 to N
29 Even Numbers
30 Even, Odd, Positive and Negative
31 Fixed Password
32 Max
33 Multiplication table C++
34 Factorial C++
35 One Prime
36 palindrome
37 Primes from 1 to n
38 Divisors
39 GCD
40 Lucky Numbers
41 Numbers Histogram
42 Pyramid
43 Shape1
44 Digits
45 Sequence of Numbers and Sum
46 Sum of Consecutive Odd Numbers
47 Shape2
48 Some Sums
49 PUM
50 Shape3
51 Convert To Decimal 2
52 Easy Fibonacci
53 Three Numbers

Arrays

# Title Solution
54 Summation C++
55 Searching C++
56 Replacement
57 Positions in array
58 Lowest Number C++
59 Reversing
60 Palindrome Array
61 Sorting
62 Smallest Pair
63 Lucky Array
64 Sum2
65 Max Subarray
66 Replace MinMax
67 Check Code
68 Fibonacci
69 Minimize Number
70 Count Subarrays
71 Permutation with arrays
72 Search In Matrix
73 Matrix
74 Is B a subsequence of A ?
75 Frequency Array
76 Mirror Array
77 8 Neighbors
78 Range sum query
79 Binary Search

Strings

# Title Solution
80 Create A New String
81 Let's use Getline
82 Compare
83 Strings
84 Count
85 Way Too Long Words
86 Conversion
87 Good or Bad
88 Palindrome
89 Count Letters
90 I Love strings
91 String Functions
92 Subsequence String
93 Max Subsequence
94 Sort String
95 Count Words
96 Reverse Words
97 String Score
98 Max Split
99 URL
100 No name1
101 No name2
102 Encrypt&Decrypt Message
103 Comparison
104 Min Cost String
105 Clean Code

Maths

# Title Solution
106 Add
107 PRINT
108 Different functions
109 prime function
110 Swap
111 Equation
112 Max and MIN
113 N times
114 Swapping with matrix
115 Average
116 Shift right
117 New Array
118 Distinct numbers
119 Shift zeros
120 Five in One

Functions

# Title Solution
121 Power Of Two
122 Prime checking
123 Sum of Range
124 Xor
125 Maximum Distinct Numbers
126 Multiplication of Matrices
127 Summation of its divisors
128 GCD
129 Divisability
130 Prime Factors
131 Combination and Permutation
132 Pascal Triangle
133 Divisible
134 Convert to Base
135 Big Add and Multiply
136 Factorial Digits
137 Product
138 Distance points
139 Is Triangle
140 Circle Task
141 Straight Line
142 Two Lines
143 Circles
144 Rectangle
145 Common Area
146 Geometry Test

Basic Recursion

# Title Solution
147 Print Recursion
148 Print from 1 to N
149 Print from N to 1
150 Print Digits using Recursion
151 Base Converssion
152 Print Even Indices
153 Pyramid
154 Inverted Pyramid
155 Count Vowels
156 Factorial
157 Max Number
158 Summation
159 Suffix Sum
160 Sum of a Matrix
161 Fibonacci
162 Log2
163 3n + 1 sequence
164 Palindrome Array
165 Array Average
166 Combination
167 Knapsack
168 Creating Expression1
169 Reach Value
170 The maximum path-sum
171 Number of Ways
171 Left Max

General Easy

Expression https://codeforces.com/group/MWSDmqGsZm/contest/223206/problem/A Watermelon (https://codeforces.com/group/MWSDmqGsZm/contest/223206/problem/B) Beautiful Matrix (https://codeforces.com/group/MWSDmqGsZm/contest/223206/problem/C) Bear and Big Brother (https://codeforces.com/group/MWSDmqGsZm/contest/223206/problem/D) George and Accommodation (https://codeforces.com/group/MWSDmqGsZm/contest/223206/problem/E) Fox And Snake (https://codeforces.com/group/MWSDmqGsZm/contest/223206/problem/F) Magnets (https://codeforces.com/group/MWSDmqGsZm/contest/223206/problem/G) Presents (https://codeforces.com/group/MWSDmqGsZm/contest/223206/problem/H) Colorful Stones (Simplified Edition) (https://codeforces.com/group/MWSDmqGsZm/contest/223206/problem/I) Lucky Division (https://codeforces.com/group/MWSDmqGsZm/contest/223206/problem/J) Prime Fibonacci (https://codeforces.com/group/MWSDmqGsZm/contest/223206/problem/K) Sereja and Dima (https://codeforces.com/group/MWSDmqGsZm/contest/223206/problem/L) The New Year: Meeting Friends (https://codeforces.com/group/MWSDmqGsZm/contest/223206/problem/M) Cakeminator (https://codeforces.com/group/MWSDmqGsZm/contest/223206/problem/N) Free Ice Cream (https://codeforces.com/group/MWSDmqGsZm/contest/223206/problem/O) Police Recruits (https://codeforces.com/group/MWSDmqGsZm/contest/223206/problem/P) Night at the Museum (https://codeforces.com/group/MWSDmqGsZm/contest/223206/problem/Q) Arrival of the General (https://codeforces.com/group/MWSDmqGsZm/contest/223206/problem/R) Good Number (https://codeforces.com/group/MWSDmqGsZm/contest/223206/problem/S) Helpful Maths (https://codeforces.com/group/MWSDmqGsZm/contest/223206/problem/T) Ilya and Bank Account (https://codeforces.com/group/MWSDmqGsZm/contest/223206/problem/U) Is it rated? (https://codeforces.com/group/MWSDmqGsZm/contest/223206/problem/V) Mahmoud and Longest Uncommon Subsequence (https://codeforces.com/group/MWSDmqGsZm/contest/223206/problem/W) Panoramix's Prediction (https://codeforces.com/group/MWSDmqGsZm/contest/223206/problem/X) Team Olympiad (https://codeforces.com/group/MWSDmqGsZm/contest/223206/problem/Y) Decoding (https://codeforces.com/group/MWSDmqGsZm/contest/223206/problem/Z)

General Medium

Drawing Task (https://codeforces.com/group/MWSDmqGsZm/contest/223207/problem/A) Arpa’s hard exam and Mehrdad’s naive cheat (https://codeforces.com/group/MWSDmqGsZm/contest/223207/problem/B) Dragons (https://codeforces.com/group/MWSDmqGsZm/contest/223207/problem/C) Juicer (https://codeforces.com/group/MWSDmqGsZm/contest/223207/problem/D) Keyboard (https://codeforces.com/group/MWSDmqGsZm/contest/223207/problem/E) Puzzles (https://codeforces.com/group/MWSDmqGsZm/contest/223207/problem/F) Twins (https://codeforces.com/group/MWSDmqGsZm/contest/223207/problem/G) Launch of Collider (https://codeforces.com/group/MWSDmqGsZm/contest/223207/problem/H) Lineland Mail (https://codeforces.com/group/MWSDmqGsZm/contest/223207/problem/I) Shaass and Oskols (https://codeforces.com/group/MWSDmqGsZm/contest/223207/problem/J) Stars Drawing (Easy Edition) (https://codeforces.com/group/MWSDmqGsZm/contest/223207/problem/K) Announcement ! (https://codeforces.com/group/MWSDmqGsZm/contest/223207/problem/L) !Palindromes (https://codeforces.com/group/MWSDmqGsZm/contest/223207/problem/M) Pumbaa And Apples (https://codeforces.com/group/MWSDmqGsZm/contest/223207/problem/N) Yaroslav and Permutations (https://codeforces.com/group/MWSDmqGsZm/contest/223207/problem/O) Calculating Function (https://codeforces.com/group/MWSDmqGsZm/contest/223207/problem/P) Dreamoon and Stairs (https://codeforces.com/group/MWSDmqGsZm/contest/223207/problem/Q) Ksenia and Pan Scales (https://codeforces.com/group/MWSDmqGsZm/contest/223207/problem/R) Mahmoud and a Triangle (https://codeforces.com/group/MWSDmqGsZm/contest/223207/problem/S) Olesya and Rodion (https://codeforces.com/group/MWSDmqGsZm/contest/223207/problem/T) T-primes (https://codeforces.com/group/MWSDmqGsZm/contest/223207/problem/U) Balanced Rating Changes (https://codeforces.com/group/MWSDmqGsZm/contest/223207/problem/V) Football (https://codeforces.com/group/MWSDmqGsZm/contest/223207/problem/W) Mountain Scenery (https://codeforces.com/group/MWSDmqGsZm/contest/223207/problem/X) Polo the Penguin and Segments (https://codeforces.com/group/MWSDmqGsZm/contest/223207/problem/Y) Fraction (https://codeforces.com/group/MWSDmqGsZm/contest/223207/problem/Z)

General Hard

Palindromes Replace (https://codeforces.com/group/MWSDmqGsZm/contest/223340/problem/A) Delete from the Left (https://codeforces.com/group/MWSDmqGsZm/contest/223340/problem/B) Koko And The Transformation (https://codeforces.com/group/MWSDmqGsZm/contest/223340/problem/C) Hussien and Strings (https://codeforces.com/group/MWSDmqGsZm/contest/223340/problem/D) Construct The Sum (https://codeforces.com/group/MWSDmqGsZm/contest/223340/problem/E) Marks (https://codeforces.com/group/MWSDmqGsZm/contest/223340/problem/F) Smallest Product (https://codeforces.com/group/MWSDmqGsZm/contest/223340/problem/G) Chewbaсca and Number (https://codeforces.com/group/MWSDmqGsZm/contest/223340/problem/H) Coins (https://codeforces.com/group/MWSDmqGsZm/contest/223340/problem/I) Help Vasilisa the Wise 2 (https://codeforces.com/group/MWSDmqGsZm/contest/223340/problem/J) Snacktower (https://codeforces.com/group/MWSDmqGsZm/contest/223340/problem/K) Two Squares (https://codeforces.com/group/MWSDmqGsZm/contest/223340/problem/L) Postcard (https://codeforces.com/group/MWSDmqGsZm/contest/223340/problem/M) Katryoshka (https://codeforces.com/group/MWSDmqGsZm/contest/223340/problem/N) Help Koko (https://codeforces.com/group/MWSDmqGsZm/contest/223340/problem/O) No Time for Dragons (https://codeforces.com/group/MWSDmqGsZm/contest/223340/problem/P) Bulbs (https://codeforces.com/group/MWSDmqGsZm/contest/223340/problem/Q) Cut Ribbon (https://codeforces.com/group/MWSDmqGsZm/contest/223340/problem/R) DZY Loves Chessboard (https://codeforces.com/group/MWSDmqGsZm/contest/223340/problem/S) Easter Eggs (https://codeforces.com/group/MWSDmqGsZm/contest/223340/problem/T) From S To T (https://codeforces.com/group/MWSDmqGsZm/contest/223340/problem/U) New Password (https://codeforces.com/group/MWSDmqGsZm/contest/223340/problem/V) Hussien and Arrays 2 (https://codeforces.com/group/MWSDmqGsZm/contest/223340/problem/W) Strange Addition (https://codeforces.com/group/MWSDmqGsZm/contest/223340/problem/X) Spiral (https://codeforces.com/group/MWSDmqGsZm/contest/223340/problem/Y) Triangle (https://codeforces.com/group/MWSDmqGsZm/contest/223340/problem/Z)