
Apna College
Alpha Batch 3.0
Alpha Batch 3.0
2 Chapters
519 Lectures
77 Notes & Sheets
Course Syllabus & Chapters (2)
1Lectures519 lessons
Path to Placement
video#1
What will you learn?
video#2
Prerequisites
video#3
What to Install? (on your laptop/computer)
video#4
What are Flowcharts?
video#5
Flowchart Components
video#6
Sum of 2 Numbers
video#7
Calculate Simple Interest
video#8
Max of 3 Numbers
video#9
Find if a Number is Prime or not
video#10
Sum of first N natural numbers
video#11
Bonus Live Session 1 (Welcome)
video#12
Bonus Live Session 2 (Time Management)
video#13
Live Mentorship Session 1 (part1)
video#14
Live Mentorship Session 1 (part2)
video#15
Live Mentorship Session 2 (Projects)
video#16
Bonus Mentorship Session (Amazon)
video#17
Live Mentorship Session 3 (Resume Building)
video#18
Live Mentorship Session 4 (Linkedin)
video#19
Live Mentorship Session 5 (Offcampus)
video#20
Live Mentorship Session 6 (Theory Subjects)
video#21
Live Mentorship Session 7 (Interview Prep)
video#22
Bonus Live for Internship Season
video#23
Bonus Live for Placement Season
video#24
Creating a Java File
video#25
Boilerplate Code
video#26
Output in Java
video#27
Print a Pattern
video#28
Variables in Java
video#29
Data Types in Java
video#30
Sum of a & b
video#31
Comments in Java
video#32
Input in Java
video#33
Sum of a & b (Input from User)
video#34
Product of a & b
video#35
Area of a Circle
video#36
Type Conversion
video#37
Type Casting
video#38
Type Promotion in Expression
video#39
How does Java code run?
video#40
Types of Operators
video#41
Arithmetic Operators
video#42
Unary Operators
video#43
Relational Operators
video#44
Logical Operators
video#45
Assignment Operators
video#46
if else
video#47
Print the largest of 2 numbers
video#48
Print if number is Odd or Even
video#49
else if
video#50
Income Tax Calculator
video#51
Print the largest of 3 numbers
video#52
Ternary Operator
video#53
Check if a student will Pass or Fail
video#54
Switch statement
video#55
Calculator
video#56
Loops Basics
video#57
while Loop
video#58
Print numbers from 1 to 10
video#59
Print numbers from 1 to n
video#60
Sum of first N natural numbers
video#61
for Loop
video#62
Print Square pattern
video#63
Print reverse of a number
video#64
Reverse the given number
video#65
do while Loop
video#66
Break statement
video#67
Question - break keyword
video#68
Continue statement
video#69
Question - continue keyword
video#70
Check if a number is Prime or not
video#71
Intro to Nested Loops (Star Pattern)
video#72
Inverted Star Pattern
video#73
Half Pyramid Pattern
video#74
Character Pattern
video#75
Special Note
video#76
Introduction to Functions
video#77
Syntax - Function Code Demo
video#78
Syntax with Parameters
video#79
Parameters v/s Arguments
video#80
What happens in memory? (Call Stack)
video#81
Call by Value (in Java)
video#82
Product of a & b
video#83
Find Factorial
video#84
Find Binomial Coefficient
video#85
Inbuilt v/s User defined Methods
video#86
Function Overloading
video#87
Overloading using Parameters
video#88
Overloading using Data Types
video#89
Check if a number is Prime or not
video#90
Check Prime (Optimized)
video#91
Primes in Range
video#92
Binary to Decimal
video#93
Code - Binary to Decimal
video#94
Decimal to Binary
video#95
Code - Decimal to Binary
video#96
Method Scope
video#97
Block Scope
video#98
Hollow Rectangle Pattern
video#99
Dry Run - Hollow Rectangle Pattern
video#100
Inverted & Rotated Half Pyramid
video#101
Inverted Half Pyramid Pattern with Numbers
video#102
Floyd's Triangle Pattern
video#103
0-1 Triangle Pattern
video#104
Butterfly Pattern
video#105
Butterfly Pattern Code (explanation continued as well)
video#106
Solid Rhombus Pattern
video#107
Hollow Rhombus Pattern
video#108
Diamond Pattern
video#109
Introduction
video#110
Arrays - Creation
video#111
Arrays - Input, Output & Update
video#112
Arrays as Function Arguments
video#113
Linear Search
video#114
Largest in Array
video#115
Binary Search
video#116
Binary Search Code
video#117
Reverse an Array
video#118
Pairs in Array
video#119
Print Subarrays
video#120
Max Subarray Sum - I (Brute Force)
video#121
Max Subarray Sum - II (Prefix Sum)
video#122
Max Subarray Sum - III (Kadane's Algorithm)
video#123
Trapping Rainwater
video#124
Trapping Rainwater - Code
video#125
Best Time to Buy & Sell Stock
video#126
What is sorting?
video#127
Bubble Sort
video#128
Bubble Sort Code
video#129
Selection Sort
video#130
Selection Sort Code
video#131
Insertion Sort
video#132
Insertion Sort Code
video#133
Inbuilt Sort
video#134
Counting Sort
video#135
Counting Sort Code
video#136
Introduction to 2D Arrays
video#137
Real life examples
video#138
Representation of 2D Arrays
video#139
Creation of 2D Arrays
video#140
2D Arrays in Memory
video#141
Spiral Matrix
video#142
Spiral Matrix Code
video#143
Diagonal Sum
video#144
Search in Sorted Matrix
video#145
Search in Sorted Matrix Code
video#146
What are Strings?
video#147
Input/Output
video#148
String Length
video#149
String Concatenate
video#150
String charAt Method
video#151
Check if a String is Palindrome
video#152
Question - Shortest Path
video#153
String Functions - compare
video#154
String Functions - substring
video#155
Print Largest String
video#156
Why Strings are Immutable?
video#157
StringBuilder
video#158
Convert Letters to Uppercase
video#159
String Compression
video#160
Introduction to Bit Manipulation
video#161
Binary Number System
video#162
Bitwise Operators
video#163
Binary AND
video#164
Binary OR
video#165
Binary XOR
video#166
Binary 1's Complement
video#167
Binary Left Shift
video#168
Binary Right Shift
video#169
Check if Odd or Even
video#170
Get ith Bit
video#171
Set ith Bit
video#172
Clear ith Bit
video#173
Update ith bit
video#174
Clear last i bits
video#175
Clear range of bits
video#176
Check if a number is power of 2 or not
video#177
Count set bits in a number
video#178
Fast Exponentiation
video#179
Fast Exponentiation Code
video#180
Classes & Objects
video#181
Access Modifiers
video#182
Getters & Setters
video#183
Encapsulation
video#184
Constructors
video#185
Type of Constructors
video#186
Copy Constructor
video#187
Shallow & Deep Copy
video#188
Destructors
video#189
Inheritance
video#190
Single level Inheritance
video#191
Multi level Inheritance
video#192
Hierarchial Inheritance
video#193
Hybrid Inheritance
video#194
Polymorphism
video#195
Method Overloading
video#196
Method Overriding
video#197
Packages in Java
video#198
Abstraction
video#199
Abstract Classes
video#200
Interfaces
video#201
Static keyword
video#202
Super keyword
video#203
Solved Questions Practice
video#204
What is Recursion?
video#205
Print numbers in decreasing order
video#206
Stack overflow
video#207
Print numbers in increasing order
video#208
Find Factorial of N
video#209
Print sum of N natural numbers
video#210
Print Nth Fibonacci number
video#211
Check if array is sorted or not
video#212
First Occurrence
video#213
Last Occurrence
video#214
Print x to the power n
video#215
Print x to the power n (Optimized)
video#216
Tiling Problem
video#217
Tiling Problem Code
video#218
Remove Duplicates in a String
video#219
Friends Pairing Problem
video#220
Binary Strings Problem
video#221
Binary Strings Problem Code
video#222
Stack Analysis - Binary Strings
video#223
What is Divide & Conquer?
video#224
Merge Sort (Basic + Space Optimized)
video#225
Merge Sort Code
video#226
Quick Sort
video#227
Quick Sort Code
video#228
Worst Case in Quick Sort
video#229
Sorted & Rotated Array Search
video#230
Sorted & Rotated Array Code
video#231
Introduction
video#232
What is Time Complexity?
video#233
Constant Time Complexity
video#234
Big O Notation
video#235
Big Omega & Theta Notation
video#236
Common Complexities
video#237
Space Complexity
video#238
Simple Loop Analysis
video#239
Nested Loop 1 Analysis
video#240
Nested Loop 2 Analysis
video#241
Nested Loop 3 Analysis
video#242
Bubble Sort Analysis
video#243
Binary Search Analysis
video#244
Recursive Complexity Analysis (Factorial)
video#245
Sum of N numbers Analysis
video#246
Fibonacci Analysis
video#247
Merge Sort Analysis
video#248
Recurrence Relation - Merge Sort
video#249
Power Function I - Analysis
video#250
Power Function II - Analysis
video#251
Power Function III - Analysis
video#252
How to approach Coding Questions?
video#253
Introduction
video#254
Types of Backtracking
video#255
Backtracking on Arrays
video#256
Find Subsets
video#257
Find Subsets Code
video#258
Find Permutations
video#259
Find Permutations Code
video#260
N Queens - all ways
video#261
N Queens - Time Complexity
video#262
N Queens - count ways
video#263
N Queens - print one solution
video#264
Grid Ways
video#265
Grid Ways Code
video#266
Grid Ways Trick
video#267
Sudoku
video#268
Sudoku Code
video#269
Introduction to ArrayList
video#270
Operations on ArrayList
video#271
Size of ArrayList
video#272
Print Reverse
video#273
Find Maximum
video#274
Swap 2 Numbers
video#275
Sorting an ArrayList
video#276
ArrayList (Implementation in Java)
video#277
Multi-dimensional ArrayLists
video#278
Container with Most Water (Brute Force)
video#279
Container with Most Water (2 Pointer Approach)
video#280
Container wMW v/s Trapping Rainwater
video#281
Pair Sum - 1 (Brute Force)
video#282
Pair Sum - 1 (2 Pointer Approach)
video#283
Pair Sum - 2
video#284
Pair Sum - 2 (Code)
video#285
Introduction to Linked List
video#286
Head & Tail in LL
video#287
Add First in LL
video#288
Add Last in LL
video#289
Print a LL
video#290
Add in the Middle of LL
video#291
Size of a LL
video#292
Remove First in LL
video#293
Remove Last in LL
video#294
Iterative Search
video#295
Recursive Search
video#296
Reverse a Linked List
video#297
Find and Remove Nth Node from End
video#298
Check if LL is Palindrome
video#299
Check if LL is Palindrome (Code)
video#300
Detecting Cycle in LL
video#301
Detecting Cycle Code
video#302
Removing Cycle in LL
video#303
Removing Cycle Code
video#304
Removing Cycle Explanation (Math)
video#305
Java Collections Framework
video#306
LL in Collections Framework
video#307
Merge Sort on LL
video#308
Merge Sort on LL (Code)
video#309
Zig Zag Linked List
video#310
Zig Zag LL Code
video#311
Doubly LL
video#312
Reverse a Doubly LL
video#313
Circular LL (Approach)
video#314
Stack Introduction
video#315
Stack using ArrayList
video#316
Stack using Linked List
video#317
Stack using Collections Framework
video#318
Push at Bottom of Stack
video#319
Reverse a String using a Stack
video#320
Reverse a Stack
video#321
Stock Span Problem
video#322
Next greater element
video#323
Next greater element Code
video#324
Valid Parentheses
video#325
Valid Parentheses Code
video#326
Duplicate Parentheses
video#327
Duplicate Parentheses Code
video#328
Maximum Rectangular Area in Histogram
video#329
Max Rectangular Area in Histogram (Code)
video#330
Introduction to Queues
video#331
Queues using Arrays
video#332
Circular Queue using Arrays
video#333
Queue using LL
video#334
Queue using JCF
video#335
Queue using Two Stacks
video#336
Stack using 2 Queues
video#337
First Non-Repeating Letter
video#338
Interleave two halves of a Queue
video#339
Queue Reversal
video#340
Deque (Double Ended Queue)
video#341
Deque in JCF
video#342
Implement Stack using Deque
video#343
Implement Queue using Deque
video#344
Introduction to Greedy
video#345
Activity Selection
video#346
Activity Selection Code
video#347
Activity Selection Explanation
video#348
Fractional Knapsack
video#349
Fractional Knapsack Code
video#350
Minimum Sum absolute difference pairs
video#351
Maximum length chain of pairs
video#352
Indian Coins
video#353
Job Sequencing Problem
video#354
Chocola Problem
video#355
Chocola Problem Code
video#356
Introduction to Binary Trees
video#357
Levels & Sub-trees in a Tree
video#358
Pop Quiz
video#359
Build Tree Preorder
video#360
Build Tree Preorder Code
video#361
Preorder Traversal
video#362
Inorder Traversal
video#363
Postorder Traversal
video#364
Level order Traversal
video#365
Height of a Tree
video#366
Count of Nodes of a Tree
video#367
Sum of Nodes
video#368
Diameter of a Tree (Approach1)
video#369
Diameter of a Tree (Approach2)
video#370
Subtree of another tree
video#371
Subtree of another tree Code
video#372
Top View of a Tree (Basics)
video#373
Top View of a Tree (Approach)
video#374
Top View of a Tree (Code)
video#375
Kth Level
video#376
Lowest Common Ancestor (Approach1)
video#377
Lowest Common Ancestor (Approach2)
video#378
Minimum Distance between 2 Nodes
video#379
Kth ancestor of Node
video#380
Transform to Sum Tree
video#381
Introduction
video#382
Concept of Search in BST
video#383
Build a BST
video#384
Search in a BST
video#385
Delete a Node
video#386
Print in Range
video#387
Root to Leaf Path
video#388
Validate BST
video#389
Mirror a BST
video#390
Sorted Array to Balanced BST
video#391
Convert BST to Balanced BST
video#392
Size of Largest BST in BT
video#393
Size of Largest BST in BT (Code)
video#394
Merge 2 BSTs
video#395
AVL Trees
video#396
Introduction to Priority Queues
video#397
PQ in JCF
video#398
PQ for Objects
video#399
Introduction to Heaps
video#400
Heap Implementation (using CBT)
video#401
Insert in Heap
video#402
Peek from Heap
video#403
Remove from Heap
video#404
Heap Sort
video#405
Nearby Cars
video#406
Connect N Ropes with Minimum Cost
video#407
Weakest Soldier
video#408
Sliding Window Maximum
video#409
Hashing Introduction
video#410
HashMap
video#411
HashMap Operations
video#412
Iteration on HashMaps
video#413
HashMap Implementation
video#414
HashMap Implementation Code
video#415
Special Note
video#416
LinkedHashMap
video#417
TreeMap
video#418
Majority Element
video#419
Valid Anagram
video#420
HashSet
video#421
Iteration on HashSets
video#422
LinkedHashSet
video#423
TreeSet
video#424
Count Distinct Elements
video#425
Union & Intersection
video#426
Find Itinerary for Tickets
video#427
Largest Subarray with Sum 0
video#428
Subarray Sum Equal to K
video#429
Tries Introduction
video#430
What is a Trie?
video#431
Creating a Trie
video#432
Insertion
video#433
Searching
video#434
Word Break Problem
video#435
Prefix Problem
video#436
startsWith Problem
video#437
Unique Substrings
video#438
Longest Word with all Prefixes
video#439
Introduction to Graphs
video#440
Types of Graphs (Based on Edge)
video#441
Graph Representations
video#442
Graph Applications
video#443
Creating a Graph (Adjacency List)
video#444
BFS (Breadth First Search)
video#445
DFS (Depth First Search)
video#446
Has Path? (using DFS)
video#447
Connected Components
video#448
Cycle in Graphs
video#449
Cycle Detection (Undirected Graph) - DFS
video#450
Bipartite Graph
video#451
Cycle Detection (Directed graph) - DFS
video#452
Extra Read
video#453
Topological Sorting (using DFS)
video#454
Topological Sort using BFS (Kahn's Algorithm)
video#455
Topological Sort using BFS (Code)
video#456
All Paths from Source to Target
video#457
Dijkstra's Algorithm
video#458
Dijkstra's Algorithm (Code)
video#459
Bellman Ford Algorithm
video#460
Bellman Ford (Code)
video#461
What is MST?
video#462
Prim's Algorithm
video#463
Prim's Code
video#464
Cheapest Flights within K Stops
video#465
Cheapest Flights within K Stops (Code)
video#466
Connecting Cities
video#467
Connecting Cities (Code)
video#468
Disjoint Set Union
video#469
Kruskal's Algorithm
video#470
Flood Fill Algorithm
video#471
Strongly Connected Components (Kosaraju's Algorithm)
video#472
Bridge in Graph (Tarjan's Algorithm)
video#473
Articulation Point (Tarjan's Algorithm)
video#474
Introduction to DP
video#475
What is DP? (Definition)
video#476
Ways of DP
video#477
7 Important Concepts
video#478
Climbing Stairs (Recursion)
video#479
Climbing Stairs (Memoization DP)
video#480
Climbing Stairs Variation
video#481
Climbing Stairs (Tabulation DP)
video#482
Types of Knapsack problems
video#483
0-1 Knapsack (Recursion)
video#484
0-1 Knapsack (Memoization)
video#485
0-1 Knapsack (Tabulation)
video#486
Target Sum Subset (Tabulation)
video#487
Target Sum Subset (Code)
video#488
Unbounded Knapsack (Tabulation)
video#489
Coin Change (Live Class)
video#490
Rod Cutting
video#491
Longest Common Subsequence (Recursion)
video#492
LCS (Memoization)
video#493
LCS (Tabulation)
video#494
Longest Common Substring
video#495
Longest Increasing Subsequence
video#496
Edit Distance (Explanation)
video#497
Edit Distance (Code)
video#498
String Conversion
video#499
Wildcard Matching - Hard (Explanation)
video#500
Wildcard Matching (Code)
video#501
Catalan's Number (Recursion + Memoization)
video#502
Catalan's Number (Tabulation)
video#503
Count BSTs
video#504
Mountain Ranges
video#505
Basics of Matrices (Math)
video#506
Matrix Chain Multiplication (Recursion)
video#507
MCM (Memoization)
video#508
MCM (Tabulation)
video#509
Minimum Partitioning
video#510
Minimum Array Jumps (Explanation)
video#511
Minimum Array Jumps (Code)
video#512
Segment Trees Introduction
video#513
Count & Meaning of Nodes
video#514
Creation of ST
video#515
Queries on ST
video#516
Update on ST
video#517
Max/Min Segment Tree (Creation)
video#518
Max/Min Segment Tree (Query/Update)
video#519
2Notes77 lessons
Aptitude Preparation Sheet
pdf#1
Practice Questions
pdf#2
DBMS Notes
pdf#3
Operating System Notes
pdf#4
Computer Networking Notes
pdf#5
Practice Qs
pdf#6
Solutions for Practice Qs
pdf#7
Tarjan's Algorithm (Reading Material)
pdf#8
Floyd Warshall Algorithm (Reading Material)
pdf#9
Practice Qs (Set2)
pdf#10
Solutions for Practice Qs (Set2)
pdf#11
Practice Qs (Set1)
pdf#12
Solutions for Practice Qs (Set1)
pdf#13
Practice Questions
pdf#14
Solutions for Practice Qs
pdf#15
Comparison Table
pdf#16
Practice Questions
pdf#17
Solutions for Practice Qs
pdf#18
Practice Questions
pdf#19
Solutions for Practice Qs
pdf#20
AVL Trees (Reading Material)
pdf#21
Red Black Trees (Reading Material)
pdf#22
Practice Questions
pdf#23
Solutions for Practice Qs
pdf#24
Helpful Project Tutorials (Free)
pdf#25
Solutions for Practice Qs
pdf#26
Curriculum
pdf#27
Step 1 - Fill Details
pdf#28
Master's Theorem (Reading Material)
pdf#29
Practice Questions
pdf#30
Solutions for Practice Qs
pdf#31
Comparators in Java (Reading Material)
pdf#32
Solutions for Practice Qs
pdf#33
Practice Questions
pdf#34
Solutions for Practice Qs
pdf#35
Practice Questions
pdf#36
Solutions for Practice Qs
pdf#37
Practice Questions
pdf#38
Solutions for Practice Qs
pdf#39
Practice Questions
pdf#40
Circular Linked List (Reading Material)
pdf#41
Solutions for Practice Qs
pdf#42
Practice Questions
pdf#43
Solutions for Practice Qs
pdf#44
Practice Questions
pdf#45
Solutions for Practice Qs
pdf#46
Practice Questions
pdf#47
Practice Questions
pdf#48
Practice Questions
pdf#49
Solutions to Practice Qs
pdf#50
Solutions for Practice Qs
pdf#51
Solutions for Practice Qs
pdf#52
Practice Questions
pdf#53
Solutions for Practice Qs
pdf#54
Practice Questions
pdf#55
Solutions for Practice Qs
pdf#56
Practice Questions
pdf#57
Solutions for Practice Qs
pdf#58
Practice Questions
pdf#59
Solutions for Practice Qs
pdf#60
Practice Questions
pdf#61
Space & Time Complexity (Reading Material)
pdf#62
Solutions for Practice Qs
pdf#63
Practice Questions
pdf#64
Looking Forward - Advanced Patterns
pdf#65
Solutions for Practice Qs
pdf#66
Practice Questions
pdf#67
Reading Material : Operator Precedence
pdf#68
Solutions for Practice Qs
pdf#69
Solutions for Practice Qs
pdf#70
Practice Questions
pdf#71
Practice Questions
pdf#72
Solutions for Practice Qs
pdf#73
Practice Questions
pdf#74
Installation Resources
pdf#75
Assignment Codes (Arrays)
pdf#76
Assignment Questions (Arrays)
pdf#77