100% found this document useful (1 vote)
3K views165 pages

DSA by Love Babbar

The document contains lecture slides on introductory programming concepts like flowcharts, loops, variables, data types, operators, conditionals, functions, and more. It includes examples and explanations of programming in C++ and links to additional online resources. The slides are part of an online coding course covering fundamental programming topics.

Uploaded by

Samsung Tablet
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
100% found this document useful (1 vote)
3K views165 pages

DSA by Love Babbar

The document contains lecture slides on introductory programming concepts like flowcharts, loops, variables, data types, operators, conditionals, functions, and more. It includes examples and explanations of programming in C++ and links to additional online resources. The slides are part of an online coding course covering fundamental programming topics.

Uploaded by

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

Intro to Programming & Flowcharts telegram: CodInit

03 January 2022 15:26

Introduction Lecture 1 Page 1


telegram: CodInit

Introduction Lecture 1 Page 2


telegram: CodInit

Introduction Lecture 1 Page 3


telegram: CodInit

Introduction Lecture 1 Page 4


telegram: CodInit

Introduction Lecture 1 Page 5


telegram: CodInit

Introduction Lecture 1 Page 6


Loops
03 January 2022 17:39 telegram: CodInit

Introduction Lecture 1 Page 7


telegram: CodInit

Introduction Lecture 1 Page 8


telegram: CodInit

Introduction Lecture 1 Page 9


Programming Language
03 January 2022 18:33
telegram: CodInit

https://www.geeksforgeeks.org/writing-first-c-program-hello-world-example/

Introduction Lecture 1 Page 10


telegram: CodInit

Read more about Compilers here: https://www.geeksforgeeks.org/introduction-to-compilers/

Introduction Lecture 1 Page 11


telegram: CodInit
First Program in C++
04 January 2022 20:53

More about scope of a function

Write Your First C^M^M Program Page 1


telegram: CodInit

Stack Overflow Question

Write Your First C^M^M Program Page 2


telegram: CodInit

Source: Programiz

Know more about C++ Data Types

Write Your First C^M^M Program Page 3


telegram: CodInit

ASCII Table

Write Your First C^M^M Program Page 4


telegram: CodInit

Write Your First C^M^M Program Page 5


Type Casting and Storing Variables
05 January 2022 17:58
telegram: CodInit

Write Your First C^M^M Program Page 6


telegram: CodInit

Write Your First C^M^M Program Page 7


telegram: CodInit

Source

Write Your First C^M^M Program Page 8


Operators
05 January 2022 19:05
telegram: CodInit

Write Your First C^M^M Program Page 9


telegram: CodInit

Write Your First C^M^M Program Page 10


Conditionals telegram: CodInit

Conditionals and Loops Page 1


telegram: CodInit

Conditionals and Loops Page 2


telegram: CodInit

Conditionals and Loops Page 3


telegram: CodInit

Conditionals and Loops Page 4


telegram: CodInit

Conditionals and Loops Page 5


Loops
07 January 2022 20:16
telegram: CodInit

Conditionals and Loops Page 6


telegram: CodInit

Conditionals and Loops Page 7


telegram: CodInit

Conditionals and Loops Page 8


Patterns
07 January 2022 20:46
telegram: CodInit

Conditionals and Loops Page 9


Pattern Questions (Part- 2)
telegram: CodInit
09 January 2022 19:06

Solving Pattern Questions (Part-2) Page 1


telegram: CodInit

Solving Pattern Questions (Part-2) Page 2


telegram: CodInit

Solving Pattern Questions (Part-2) Page 3


telegram: CodInit

Solving Pattern Questions (Part-2) Page 4


telegram: CodInit
More Patterns
09 January 2022 20:06

Solving Pattern Questions (Part-2) Page 5


telegram: CodInit

Solving Pattern Questions (Part-2) Page 6


telegram: CodInit

Solving Pattern Questions (Part-2) Page 7


telegram: CodInit

Solving Pattern Questions (Part-2) Page 8


telegram: CodInit

Solving Pattern Questions (Part-2) Page 9


telegram: CodInit

Solving Pattern Questions (Part-2) Page 10


telegram: CodInit

Solving Pattern Questions (Part-2) Page 11


telegram: CodInit

Solving Pattern Questions (Part-2) Page 12


telegram: CodInit
Bitwise Operators
11 January 2022 17:39

Bitwise Operators^J For Loops^J Operator Precedence Page 1


telegram: CodInit

Bitwise Operators^J For Loops^J Operator Precedence Page 2


telegram: CodInit

Bitwise Operators^J For Loops^J Operator Precedence Page 3


telegram: CodInit

Bitwise Operators^J For Loops^J Operator Precedence Page 4


telegram: CodInit

Bitwise Operators^J For Loops^J Operator Precedence Page 5


For Loops
11 January 2022 19:11
telegram: CodInit

Bitwise Operators^J For Loops^J Operator Precedence Page 6


telegram: CodInit

Bitwise Operators^J For Loops^J Operator Precedence Page 7


telegram: CodInit

Bitwise Operators^J For Loops^J Operator Precedence Page 8


telegram: CodInit

Bitwise Operators^J For Loops^J Operator Precedence Page 9


telegram: CodInit

Bitwise Operators^J For Loops^J Operator Precedence Page 10


Variables and Scope
11 January 2022 20:00
telegram: CodInit

Bitwise Operators^J For Loops^J Operator Precedence Page 11


telegram: CodInit

Bitwise Operators^J For Loops^J Operator Precedence Page 12


Operator Precedence
11 January 2022 20:17
telegram: CodInit

Bitwise Operators^J For Loops^J Operator Precedence Page 13


LeetCode Questions
11 January 2022 20:23 telegram: CodInit

Bitwise Operators^J For Loops^J Operator Precedence Page 14


telegram: CodInit

Bitwise Operators^J For Loops^J Operator Precedence Page 15


Decimal and Binary System
telegram: CodInit
12 January 2022 18:26

Decimal and Binary Number System Page 1


telegram: CodInit

Decimal and Binary Number System Page 2


telegram: CodInit

Decimal and Binary Number System Page 3


telegram: CodInit

Decimal and Binary Number System Page 4


LeetCode Problem Solving Session
telegram: CodInit
15 January 2022 18:53

LeetCode Problem Solving Session Page 1


telegram: CodInit

LeetCode Problem Solving Session Page 2


telegram: CodInit

LeetCode Problem Solving Session Page 3


Switch Statement and Functions telegram: CodInit
16 February 2022 15:27

Lecture 8 Switch Statement and Functions Page 1


telegram: CodInit

Lecture 8 Switch Statement and Functions Page 2


telegram: CodInit

Lecture 8 Switch Statement and Functions Page 3


telegram: CodInit

Lecture 8 Switch Statement and Functions Page 4


telegram: CodInit

Lecture 8 Switch Statement and Functions Page 5


telegram: CodInit

Lecture 8 Switch Statement and Functions Page 6


telegram: CodInit

Lecture 8 Switch Statement and Functions Page 7


telegram: CodInit

Lecture 8 Switch Statement and Functions Page 8


telegram: CodInit

Lecture 8 Switch Statement and Functions Page 9


telegram: CodInit

Lecture 8 Switch Statement and Functions Page 10


telegram: CodInit

Lecture 8 Switch Statement and Functions Page 11


Arrays telegram: CodInit
18 February 2022 13:12

Lecture 9 Arrays Page 1


telegram: CodInit

Lecture 9 Arrays Page 2


telegram: CodInit

Lecture 9 Arrays Page 3


telegram: CodInit

Lecture 9 Arrays Page 4


telegram: CodInit

Lecture 9 Arrays Page 5


telegram: CodInit

Lecture 9 Arrays Page 6


LeetCode Problem Solving (Arrays) telegram: CodInit
20 February 2022 15:39

Lecture 10 LeetCode Problem Solving Arrays Page 1


telegram: CodInit

Lecture 10 LeetCode Problem Solving Arrays Page 2


telegram: CodInit

Lecture 10 LeetCode Problem Solving Arrays Page 3


telegram: CodInit

Lecture 10 LeetCode Problem Solving Arrays Page 4


telegram: CodInit

Lecture 10 LeetCode Problem Solving Arrays Page 5


telegram: CodInit

Lecture 10 LeetCode Problem Solving Arrays Page 6


telegram: CodInit

Lecture 10 LeetCode Problem Solving Arrays Page 7


telegram: CodInit

Lecture 10 LeetCode Problem Solving Arrays Page 8


telegram: CodInit

Lecture 10 LeetCode Problem Solving Arrays Page 9


telegram: CodInit

Lecture 10 LeetCode Problem Solving Arrays Page 10


telegram: CodInit

Lecture 10 LeetCode Problem Solving Arrays Page 11


Time and Space Complexity telegram: CodInit
21 February 2022 20:38

Lecture 11 Time and Space Complexity Page 1


telegram: CodInit

Lecture 11 Time and Space Complexity Page 2


telegram: CodInit

Lecture 11 Time and Space Complexity Page 3


telegram: CodInit

Lecture 11 Time and Space Complexity Page 4


telegram: CodInit

Lecture 11 Time and Space Complexity Page 5


telegram: CodInit
Binary Search
22 February 2022 19:35

Lecture 12 Binary Search Page 1


telegram: CodInit

Lecture 12 Binary Search Page 2


telegram: CodInit

Lecture 12 Binary Search Page 3


telegram: CodInit

Lecture 12 Binary Search Page 4


telegram: CodInit

Lecture 12 Binary Search Page 5


Binary Search Interview Questions
23 February 2022 12:29
telegram: CodInit

Lecture 13 Binary Search Interview Questions Page 1


telegram: CodInit

Lecture 13 Binary Search Interview Questions Page 2


telegram: CodInit

Lecture 13 Binary Search Interview Questions Page 3


telegram: CodInit

Lecture 13 Binary Search Interview Questions Page 4


telegram: CodInit

Lecture 13 Binary Search Interview Questions Page 5


telegram: CodInit

Lecture 13 Binary Search Interview Questions Page 6


telegram: CodInit
Selection Sort
24 February 2022 12:16

Lecture 16 Selection Sort Page 1


telegram: CodInit

Lecture 16 Selection Sort Page 2


telegram: CodInit

Lecture 16 Selection Sort Page 3


telegram: CodInit

Lecture 16 Selection Sort Page 4


telegram: CodInit

Is selection sort stable?

Lecture 16 Selection Sort Page 5


Learning Recursion The Best Way
17 January 2022 19:32
telegram: CodInit

Learning Recursion The Best Way Page 1


telegram: CodInit

Learning Recursion The Best Way Page 2


telegram: CodInit

Learning Recursion The Best Way Page 3


telegram: CodInit

Learning Recursion The Best Way Page 4


Lecture 32
19 January 2022 19:03 telegram: CodInit

Learning Recursion The Best Way Lecture 32 Page 1


telegram: CodInit

Learning Recursion The Best Way Lecture 32 Page 2


telegram: CodInit

Learning Recursion The Best Way Lecture 32 Page 3


telegram: CodInit

Learning Recursion The Best Way Lecture 32 Page 4


Recursion and Binary Search
22 January 2022 21:01

telegram: CodInit

Recursion and Binary Search Page 1


telegram: CodInit

Recursion and Binary Search Page 2


telegram: CodInit

Recursion and Binary Search Page 3


telegram: CodInit

Recursion and Binary Search Page 4


telegram: CodInit
25 January 2022 20:12

Recursion With Strings Page 1


telegram: CodInit

Recursion With Strings Page 2


telegram: CodInit

Note: The time complexity of accessing the size of a std::string in C++ is O(1).

Recursion With Strings Page 3


telegram: CodInit

Recursion With Strings Page 4


telegram: CodInit

Recursion With Strings Page 5


telegram: CodInit

Recursion With Strings Page 6


telegram: CodInit

Refer Here

Recursion With Strings Page 7


Merge Sort
29 January 2022 20:05 telegram: CodInit

Visualization (Source: Hacker Earth)

Merge Sort Page 1


telegram: CodInit

Merge Sort Page 2


telegram: CodInit

Merge Sort Page 3


telegram: CodInit

Merge Sort Page 4


telegram: CodInit

Merge Sort Page 5


Quick Sort
05 February 2022 19:49
telegram: CodInit

Quick Sort Page 1


telegram: CodInit

Quick Sort Page 2


telegram: CodInit

Refer Here for detailed explanation

Quick Sort Page 3


telegram: CodInit

Quick Sort Page 4


telegram: CodInit
Subsets / Subsequences of String
07 February 2022 19:37

Subsets or Subsequences of String Page 1


telegram: CodInit

Subsets or Subsequences of String Page 2


telegram: CodInit

Subsets or Subsequences of String Page 3


telegram: CodInit

Subsets or Subsequences of String Page 4


Phone Keypad Problem
09 February 2022 23:02
telegram: CodInit

Phone Keypad Problem Page 1


telegram: CodInit

Phone Keypad Problem Page 2


Permutations of a String
10 February 2022 20:56
telegram: CodInit

Permutations of a String Page 1


telegram: CodInit

Permutations of a String Page 2


telegram: CodInit

Permutations of a String Page 3


Rat In A Maze telegram: CodInit
12 February 2022 20:00

Click Here

Rat in a Maze Page 1


telegram: CodInit

Rat in a Maze Page 2


telegram: CodInit

Rat in a Maze Page 3


telegram: CodInit

Rat in a Maze Page 4


telegram: CodInit
Time and Space Complexity of Recursive Algorithms
15 February 2022 19:14

Time and Space Complexity of Recursive Algorithms Page 1


telegram: CodInit

Time and Space Complexity of Recursive Algorithms Page 2


telegram: CodInit

Time and Space Complexity of Recursive Algorithms Page 3


telegram: CodInit

Time and Space Complexity of Recursive Algorithms Page 4


telegram: CodInit

Time and Space Complexity of Recursive Algorithms Page 5


telegram: CodInit

Time and Space Complexity of Recursive Algorithms Page 6


telegram: CodInit

Time and Space Complexity of Recursive Algorithms Page 7


telegram: CodInit

Time and Space Complexity of Recursive Algorithms Page 8


telegram: CodInit

Time and Space Complexity of Recursive Algorithms Page 9


telegram: CodInit

Time and Space Complexity of Recursive Algorithms Page 10


telegram: CodInit

Time and Space Complexity of Recursive Algorithms Page 11

You might also like

pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy