colorful gradient
Courses

👨‍🏫 Basics of C++

Photo by Aperture Vintage / Unsplash

Photo by Aperture Vintage / Unsplash

Here is how you start learning C++ from scratch.

Questions

Patterns -

Try printing the following patterns -

For N = 4
*
**
***
****
For N = 4
   *
  **
 ***
****
For N = 4
4444
4444
4444
4444
For N = 4
1
22
333
4444
For N = 4
1234
123
12
1
For N = 4
A
BC
CDE
DEFG
For N = 4
4444
333
22
1
For N = 4
   1
  12
 123
1234
For N = 4
  *
 ***
*****
For N = 5 (Only Odd Numbers allowed, Show error if even number)
  *
 ***
*****
 ***
  *

Arrays and Strings -

Reverse a String | Practice | GeeksforGeeks

Find minimum and maximum element in an array | Practice | GeeksforGeeks

Sort an array of 0s, 1s and 2s | Practice | GeeksforGeeks

Move all negative elements to end | Practice | GeeksforGeeks

Palindrome String | Practice | GeeksforGeeks

Print all subsequences of a string - GeeksforGeeks

Matrix -

Spirally traversing a matrix | Practice | GeeksforGeeks

Search in a 2D Matrix | LeetCode

Set Matrix Zeros | LeetCode

Work with Me !