L1_intro
L1_intro
1/22/2025 2
Focus of the subject:
› Pre-requisites: Passion of programming, strong
programming fundamentals, good knowledge of DS &
Algo
› Now: Develop better comprehension of DS and Algo
concepts, learn commonly used tricks & techniques
needed
› Analogy: 10+2 Math syllabus is same for CBSE, JEE
Mains & JEE –Advanced, but skills needed are different
for mains and advanced
1/22/2025 3
How the syllabi designed for this subject?
› Through your seniors in Google, Microsoft, Amazon,
CodeNation etc
› Special Thanks to Shivam Jindal, Google USA, Kunal
Khanna, Google USA, Pulkit Garg, Amazon and many
others
› Its just a beginning, we will learn and grow together
1/22/2025 4
What you will learn
› Overview of Efficient Coding for Problem Solving and
CP
› Use of Number Theory for problem-solving
› Coding for Optimizing time and Space using Sequential
Storage
› Applying Non-Linear Data Structures for real-life
problems
› CP Problem Solving using Advanced Topics
1/22/2025 5
How will we progress
› Focus will be problem solving beyond standard
operations/problems covered already in DS & Algo
› Problem Solving means concepts of DS & Algo
knowledge to be applied for problems given in
statements belonging to real-life situations
› We will start with array, searching/sorting simple data
str based straight problems (no real life situations
initially), commonly asked in interviews etc
› Here focus will be to improve the efficiency (time/space
requirements)
› Next will be efficient coding for problems related to
linked list, priority queues, trees, graphs, some new data
structures
1/22/2025 6
How will we progress
› Use of STL & CP platforms will be initiated after few
days
› Issues of constraints & their solutions
› Algorithmic strategies and real-life problem based
coding
› Outcome: step towards preparation of internship tests &
interviews; better awareness to progress in CP & ACM-
ICPC etc
› First attempt in this direction, Let us try our level best to
achieve our goal.
1/22/2025 7
Example problem of online CP platforms
Problem description
Write a program that multiplies pairs of integers.
Input description
Input starts with one line containing an integer , where
, denoting the number of test cases. Then lines
follow, each containing a test case. Each test case consists of
two integers , where , separated by a
single space.
Output description
For each test case, output one line containing the value of