Skip to content

sahu-divyanshu/100_Days_of_code

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

49 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

#100 DAYS OF CODE CHALLENGE

100 DAYS OF CODE CHALLENGE

I accepted the #100 Days of Code Challenge to improve and learn something new every day for at least an hour. That way, I can enhance my coding skills.

  • I Will Follow Two Basic Rules:

    1. Code for at least one hour per day for the following 100 days.

    2. Every day I'm going to update on LinkedIn with my progress using the hashtag #100DaysOfCode.

  • My Exceptions Are:

    1. If I break the streak, I will make sure that I won't break it the next day.

    2. My college exam, as well as a few emergencies, necessitates a day off

#100 Days of Code Challenge

Useful Links

  • For daily upgrades, follow me at:

DIVYANSHU SAHU


🎯 Goals

  • Learning C++ from Basic to Advanced.

  • Learning Data Structure & Algorithms.

  • Solving Problem On DSA


πŸ“ˆ 100DaysOfCode Day-to-Day Progress

πŸ“… DAY 1

  • πŸ“† 16-07-2022 FRIDAY
  • Basic Syntax
  • Types of error

πŸ“… DAY 2

  • πŸ“† 17-07-2022 SATURDAY
  • Constants and Variables

πŸ“… DAY 3

  • πŸ“† 18-07-2022 SUNDAY
  • Array and Vector

πŸ“… DAY 4

  • πŸ“† 19-07-2022 MONDAY
  • Operators
  • Different Functios of Vector

πŸ“… DAY 5

  • πŸ“† 20-07-2022 TUESDAY
  • All Types of Operator

πŸ“… DAY 6

  • πŸ“† 21-07-2022 WEDNUSDAY
  • Performed different functions using Operators

πŸ“… DAY 7

  • πŸ“† 22-07-2022 THURSDAY
  • Control Statements Types and Basics
  • Solved a Problem statement on if else

πŸ“… DAY 8

  • πŸ“† 23-07-2022 FRIDAY
  • Switch Case
  • For Loop
  • Range Based For Loop
  • While Loop
  • Do While Loop
  • Continue And Break
  • Nested Loop

πŸ“… DAY 9

  • πŸ“† 24-07-2022 SATURDAY
  • Histogram using nested loops
  • Character and its Functions -
  • isalpha, isalnm, isdigit, islower, isprint, ispunct, isupper, isspace
  • C style String its functions and its working -
  • strcmp, strcpy, strcat, strlen, strfind, getline
  • C++ style string and its functions -
  • substr, strname.find, getline

πŸ“… DAY 10

  • πŸ“† 25-07-2022 SUNDAY
  • C++ style string and its working
  • Problem statement on encryption and decryption of message

πŸ“… DAY 11

  • πŸ“† 26-07-2022 MONDAY
  • FUnctions -
  • Prototype
  • calling by value
  • body

πŸ“… DAY 12

  • πŸ“† 27-07-2022 TUESDAY
  • Overloading Function
  • Passing array to Functions
  • Pass by reference
  • Encoding and decoding of string using function

πŸ“… DAY 13

  • πŸ“† 28-07-2022 WEDNUSDAY
  • Functions -
  • Scope Rules
  • How Function call work
  • Inline function
  • Recursive Function
  • What is object oriented programing
  • What are classses and object
  • Declaring class and crearing object

πŸ“… DAY 14

  • πŸ“† 29-07-2022 THURSDAY
  • Accessing Class Members
  • Implementing Member Methods
  • Public and Private Class

πŸ“… DAY 15

  • πŸ“† 30-07-2022 FRIDAY
  • Implementing member methods
  • Creating Class and Library
  • Introduction to constructors and destructors

πŸ“… DAY 16

  • πŸ“† 31-07-2022 SATURDAY
  • Default Constructor
  • Overloading Constructor
  • Constructor Initialisation
  • Delegating Constructor

πŸ“… DAY 17

  • πŸ“† 01-08-2022 SUNDAY
  • Delleagting Constructor
  • Constructor parameter and default values
  • Copy Constructor

πŸ“… DAY 18

  • πŸ“† 02-08-2022 MONDAY
  • Shallow Copying
  • Deep Copying
  • Move Constructor

πŸ“… DAY 19

  • πŸ“† 03-08-2022 TUESDAY
  • this pointer
  • using const with classes
  • static classes member
  • structure vs classes
  • friends of a class

πŸ“… DAY 20

  • πŸ“† 04-08-2022 WEDNUSDAY
  • Revised all topic day 14 to day 19
  • Started a section challange

πŸ“… DAY 21

  • πŸ“† 04-08-2022 THURSDAY
  • Completed section challange

πŸ“… DAY 22

  • πŸ“† 05-08-2022 FRIDAY
  • Operator Overloading
  • Overloading the assignment operator (copy)
  • Overloading the assignment operator (Move)

πŸ“… DAY 23

  • πŸ“† 06-08-2022 SATURDAY
  • Move Assignment Operator
  • Overloading operator as member function
  • Overloading operator as global function
  • Overloading the stream insertion and Extraction Operator

πŸ“… DAY 24

  • πŸ“† 07-08-2022 SUNDAY
  • Encapsulation
  • Full Encapsulation
  • Why we use Encapsulation
  • Inheritance and its implementation
  • Access Modifers in inheritance

πŸ“… DAY 25

  • πŸ“† 08-08-2022 MONDAY

Types of Inheritance -

  • Single Inheritance
  • Multi-Level Inheritance
  • Multiple Inheritance
  • Hierarchical Inheritance
  • Hybrid Inheritance
  • Inheritance Ambiguity
  • Polymorphism

πŸ“… DAY 26

  • πŸ“† 09-08-2022 TUESDAY
  • Compile Time Polymorphism
  • Run Time Polymorphism
  • Abstraction
  • Linked List Vs Dynamic Array Vs Vector
  • Advantages of linked list
  • Singly Linked List

πŸ“… DAY 27

  • πŸ“† 10-08-2022 WEDNUSDAY
  • Singly Linked List -
  • Insert At Head
  • Insert At Tail
  • Insert In Middle

πŸ“… DAY 28

  • πŸ“† 11-08-2022 THURSDAY
  • Singly Linked List -
  • Deletion
  • Doubly Linked List -
  • Insert At Head
  • Insert At Tail
  • Insert At Position

πŸ“… DAY 29

  • πŸ“† 12-08-2022 FRIDAY
  • Doubly Linked List -
  • Deletion
  • Circular Linked List -
  • Insert Node
  • Traversal
  • Deletion

πŸ“… DAY 30

  • πŸ“† 13-08-2022 SATURDAY
  • Today I Revised All Control Statements (if else, looping , etc.) And solved 20+ pattern printing questions using loops

πŸ“… DAY 31

  • πŸ“† 14-08-2022 SUNDAY

Today i revised some topics listed below and solved some problems on leetcode

  • Bitwise operators -
  • Bitwise AND
  • Bitwise OR
  • Bitwise NOT
  • Bitwise XOR
  • Left And Right shift
  • Pre / Post increment
  • Pre / Post decrement
  • for loop
  • continue and break statements
  • scope concepts
  • Operator precedence and associativity

Leetcode Questions done -

  • Number of 1 bit
  • Subtract the product and sum of digits of an integer

πŸ“… DAY 32

  • πŸ“† 15-08-2022 MONDAY

Today i solved 5 different problem statements -

  • Decimal to binary code
  • Binary to decimal code
  • Reverse integer
  • Complement Base 10 integer
  • Power of two

πŸ“… DAY 33

  • πŸ“† 16-08-2022 TUESDAY

Today i revised some concept and solved some problem leet code -

  • Switch Case
  • Switch Implementation
  • Functions
  • Why Functions
  • Types of function
  • Power (a,b)
  • nCr Program
  • Function call stack
  • Pass by Value
  • What is Array
  • Why array
  • Declaration of array
  • Indexes in array
  • Initialisation of array
  • Accessing elements
  • Array with Functions
  • Pass by reference
  • Different Types of arrays
  • Minimum and Maximum element
  • Linear Search
  • Reverse an Array

πŸ“… DAY 34

  • πŸ“† 17-08-2022 WEDNUSDAY

Today i solved some problems on code studio - Find Unique Element

  • Swap Alternates
  • Find Duplicates
  • Array Intersection
  • Pair Sum
  • Sort 0 ,1

πŸ“… DAY 35

  • πŸ“† 20-08-2022 FRIDAY

Time complexity

  • Complexity Notations
  • Big O notation
  • Solving for time complexity
  • How to avoid TLE
  • Space complexity
  • Solving for space complexity
  • Binary Search
  • Linear Search Vs Binary Search
  • Complexity of binary search Algorithm
  • Build binary search Function

πŸ“… DAY 36

  • πŸ“† 21-08-2022 SATURDAY

Today i have solved some questions on leet code -

  1. First Occurrence
  2. Last Occurrence
  3. Total number of Occurrence
  4. Peak in Mountain Array

πŸ“… DAY 37

  • πŸ“† 22-08-2022 SUNDAY

Today i solved some problems on leet code and code studio - -> Find Pivot in an array Using Binary Search -> Search in a rotated and sorted Array Using Binary Search -> Square Root Using Binary Search -> Finding the float part of square root

πŸ“… DAY 38

  • πŸ“† 23-08-2022 MONDAY

Today i solved some problems on code studio - Book allocation problem using Binary search Painter's Partition Problem using Binary Search Aggressive Cows Problem Tow stacks Problem

Build Stack Functions - Push Pop Peak Display

πŸ“… DAY 39

  • πŸ“† 24-08-2022 TUESDAY

Today i have learnt about - Selection Sort Bubble Sort Insertion Sort

πŸ“… *DAY 40 *

  • πŸ“† 25-08-2022 WEDNUSDAY

Today i solved 2 question on leet code -

  1. Move zeros
  2. Merge 2 sorted arrays

Today i have learnt about Standard Template Library and their pre defined function - βœ…vector ➑️push_back() ➑️pop_back() ➑️clear() ➑️size() ➑️capacity() βœ…stack ➑️push() ➑️pop() ➑️top() ➑️empty() ➑️size() βœ…queue ➑️push() ➑️pop() ➑️top() ➑️empty() βœ…set ➑️insert() ➑️erase() ➑️begin() ➑️end() ➑️count() ➑️iterator ➑️find() βœ…priority queue ➑️push() ➑️pop() ➑️top() βœ…map ➑️erase() ➑️begin() ➑️end() ➑️count() ➑️iterator ➑️find() βœ…list ➑️push_back() ➑️push_front() ➑️erase() ➑️begin() ➑️end() βœ…doubly queue ➑️push_back() ➑️push_front() ➑️begin() ➑️end() βœ…Algorithm ➑️push_back() ➑️push_front() ➑️erase()

πŸ“… *DAY 41 *

  • πŸ“† 26-08-2022 THRUSDAY

Today i solved 5 question on leet code and code studio -

  1. Rotate Array
  2. Check if array is sorted & rotated
  3. Add 2 Arrays (find sum)
  4. Reverse a String
  5. Check Palindrome

Today i have learnt about - Intro to char array and strings How char arrays are sorted Null character Input char array output char array Multiple word and cin limitations cout functions and limitations

πŸ“… DAY 42

  • πŸ“† 27-08-2022 FRIDAY

Today i solved 4 question on leet code and code studio -

  1. Valid Palindrome
  2. Maximum occuring character
  3. Replace Spaces
  4. Remove all occurances of Substring

Today i have learnt about - All Inbuilt function of stirng - getline() push_back() pop_back() begin() end() rbegin() rend() capacity() resize() length() shrink_to_fit() swap()

πŸ“… DAY 43

  • πŸ“† 28-08-2022 SATURDAY

Today i solved 2 question on leet code and code studio -

  1. String compression
  2. Permutation in string

Today i have learnt about - Why we need 2D Arrays ? How 2D sorted in memory ? Creating an 2D Array Input 2D Array Output in 2D Row-Wise input in 2D Arrays Column-Wise Input in 2D Arrays

πŸ“… DAY 44

  • πŸ“† 29-08-2022 SUNDAY

Today i solved some problems of 2d arrays on leetcode -

  1. Linear Search in 2D Arrays
  2. Row-wise sum
  3. Largest Row sum problem
  4. wave print problem
  5. Spiral print problem
  6. Search a 2D Matrix using binary search

πŸ“… DAY 45

  • πŸ“† 30-08-2022 MONDAY

Today i solved 4 question on leet code and code studio -

  1. Rotate Image
  2. Search a 2D matrix Lvl 2
  3. count primes (using sieve eratosthenes)
  4. Modular Exponentiation

Today i have learnt about - Sieve of Eratosthenes Segmented Sieve GDC/HCF Euclid's Algo Pointer Why do we need pointers? Playing with pointers Null Pointer and value access Copying a pointer Pointer Airthmetic Array And Address Playing with array and pointers Array Vs Pointer Size Address Symbol Table Char Arrays with pointers char with pointers Pointers & Functions

πŸ“… DAY 46

  • πŸ“† 31-08-2022 TUESDAY

*Today i solved 15 + MCQ's on Pointer and Double Pointers And 1 problem of leetcode

Today i have learnt about - ->why *int ->Double Pointer ->Double Pointer and functions

πŸ“… DAY 47

  • πŸ“† 1-09-2022 WEDDAY

Today i have learnt about -

-> Reference Variables -> Why we use reference Variables -> Pass by reference -> Return by Reference(bad) -> Variable Size Array -> Dynamic memory alloccation -> Static vs Dynamic -> Manually releasing dynamic memory "delete" keyword -> Void pointer -> why we need void pointer

πŸ“… DAY 48

  • πŸ“† 2-09-2022 THRUSDAY

Today i solved 13 question on leet code and code studio -

  1. Power of 2 using recursion
  2. Factorial using recursion
  3. Print counting using recursion
  4. Fibonacci Series using recursion
  5. Climb Stairs using recursion
  6. Say Digits using recursion
  7. Sorted Array using recursion
  8. Linear Search using recursion
  9. Binary Search using recursion
  10. Reverse String using recursion
  11. Check Palindrome using recursion
  12. Calculating Power using recursion
  13. Bubble sort using recursion

Some of above questions are solved in my VS Code only*

Today i have learnt about - 2D Array Dynamic memory allocation Taking Input/output in Dynamic 2D Array Releasing memory Chain Macros Multi Line Macro Function Like Macro Global Variable Inline Function Default Arguments Document Reference

I was able to do that much because its a day off from my college

πŸ“… DAY 49

  • πŸ“† 3-09-2022 FRIDAY

Today I solved 2 question on leet code and code studio -

  1. Merge Sort
  2. Quick Sort

πŸ“… DAY 50

  • πŸ“† 4-09-2022 SATURDAY

Today i solved 5 question on leet code and code studio -

  1. subsets
  2. subsequences of string
  3. Letter Combinations of a Phone Number
  4. permutations of a string
  5. Rat in a maze problem

Today i have learnt about - Time complexity of FACTORIAL using recursion Time complexity of BINARY SEARCH using recursion Time complexity of MERGE SORT using recursion Time complexity of FIBONACCI SERIES using recursion

Space complexity of FACTORIAL using recursion Space complexity of BINARY SEARCH using recursion Space complexity of MERGE SORT using recursion Space complexity of FIBONACCI SERIES using recursion

And revised some concepts of OPPS Class and Objects Empty class Access Modifers Getter Setter Static Vs Dynamic allocation in objects Constructor Default Constructor Parameterised Constructor

πŸ“… DAY 51

  • πŸ“† 5-09-2022 SUNDAY

Today i have learnt about - This Keyword Copy Constructor Shallow copy Deep Copy Assignment Operator Destructor Static Keyword Static Functions Encapsulation Full Encapsulation Inheritance Access Modifiers - Public , Protected , Private ->Types of inheritance -

  1. Single
  2. Multi-level
  3. Multiple
  4. Hierarchical
  5. Hybrid Inheritance Ambiguity Polymorphism Compile Polymorphism Run Time Polymorphism Abstraction Why linked list Linked list vs dynamic array vs vector Singly linked list- Insert at Head Insert at Tail Insert at Position Deletion at position

πŸ“… DAY 52

  • πŸ“† 6-09-2022 MONDAY

Today i have learnt about -

~Doubly Linked List -

  1. Insertion at Head
  2. Insertion at Tail
  3. Traversal
  4. Insertion at position
  5. Deletion at any Node

~Circular Linked List

  1. Insertion using Values
  2. Traversal
  3. Deletion using Value

πŸ“… DAY 53

  • πŸ“† 7-09-2022 TUESDAY

Today i solved 5 question on leet code and code studio -

  1. Reverse a linked list
  2. Middle of Linked List
  3. Reverse linked list in K order
  4. Circular list or not
  5. Detect cycle/Loop in linked list

πŸ“… DAY 54

  • πŸ“† 8-09-2022 WEDDAY

Today i solved 8 question on geeks for geeks and code studio -

  1. Floyd Cycle Detection
  2. Find Starting node of loop
  3. Remove Loop from Linked List
  4. Remove duplicates in sorted linked list
  5. Sort 0s , 1s and 2s
  6. Merge Two Sorted Linked List
  7. Check Palindrome in Linked List
  8. Add 2 numbers represented by linked listToday i solved 8 question on geeks for geeks and code studio -
  9. Floyd Cycle Detection
  10. Find Starting node of loop
  11. Remove Loop from Linked List
  12. Remove duplicates in sorted linked list
  13. Sort 0s , 1s and 2s
  14. Merge Two Sorted Linked List
  15. Check Palindrome in Linked List
  16. Add 2 numbers represented by linked list

πŸ“… DAY 55

  • πŸ“† 8-09-2022 THRUSDAY

Today i solved 2 question on leet code and code studio -

  1. clone linked list with next and random pointer
  2. merge sort in linked list

Today i have learnt about - Stack functions using STL - push() pop() peak() display()

πŸ“… DAY 56

  • πŸ“† 9-09-2022 FRIDAY

Today i solved 6 question on leet code and code studio -

  1. Two Stacks
  2. Reverse a string using stack
  3. Delete Middle Element From Stack
  4. Valid Parenthrses
  5. Insert element a bottom of stack
  6. Reverse Stack Using Recursion

And build basic functions of stack- push() pop() peak() display() isEmpty()

πŸ“… *DAY 57

  • πŸ“† 10-09-2022 SATURDAY

Today i solved 3 question on code studio -

  1. sort stack
  2. Redundant Brackets
  3. Minimum cost to make string valid

πŸ“… *DAY 58

  • πŸ“† 10-09-2022 SATURDAY

Today i have learnt about SQL from Code Help - Love Babbar Lakshay Kumar and W3 Schools - What is SQL ? What are CRUD operations ? SQL vs MY SQL SQL Datatypes Variable Vs Fixed Datatypes Types of SQL commands Data Defination Language Data read language / data query language Dual Tables in SQL Select , Where , Between, in , and, or ,not ,is NULL Wildcard Characters in SQL Sorting in SQL using ORDER BY Grouping using GROUP BY HAVING KEYWORD DLL Key Constraints ALTER operations in SQL Data Modification Language (DML) ON DELETE / SET NULL REPLACE vs INSERT JOINS - INNER JOIN OUTER JOIN SELF JOIN Join without using JOIN keywords SET operations in SQL - UNION INTERSECT MINUS Sub Queries in SQL Views in SQL

πŸ“… *DAY 59

  • πŸ“† 11-9-2022 SUNDAY

Today i solved 2 question on leet code and code studio -

  1. Next Smaller Element (easy)
  2. Largest Rectangle in Histogram (hard)

I am happy to solve my first hard level problem on leetcode

πŸ“… *DAY 60

  • πŸ“† 12-09-2022 MONDAY

Today i revised basics of python - Modules Comments Pip Variables & Data Types Strings Lists & Tuples Dictionary & Sets Control Statements Loops in Python Functions & Recursion

πŸ“… *DAY 61

  • πŸ“† 13-09-2022 TUESDAY

Today i solved 2 question on geeks for geeks -

  1. Celebrity Problem
  2. Max rectangle in binary matrix with all 1's

πŸ“… *DAY 62

  • πŸ“† 14-09-2022 WEDDAY

Today i solved a HARD level problem on code studio -

  1. N Stacks In An Array

πŸ“… *DAY 63

  • πŸ“† 15-09-2022 THRUSDAY

Today i solved question on leet code and code studio -

  1. Design Special Stack Problem
  2. Circular Queue
  3. Input/Output restricted Queue
  4. Double ended Queue

Today i have learnt about - Designed Queue Functions

  1. Enqueue
  2. Dequeue
  3. Display
  4. peek

πŸ“… *DAY 64

  • πŸ“† 16-09-2022 FRIDAY

Today i solved 3 question on geeks for geeks -

  1. Queue Reversal
  2. First Negative integer in every window of K
  3. Reverse First K element of Queue

πŸ“… *DAY 65

  • πŸ“† 17-09-2022 SATURDAY

Today i solved 2 question on geeks for geeks -

  1. First non repeating char in string
  2. circular tour

πŸ“… *DAY 66

  • πŸ“† 18-09-2022 SUNDAY

Today i solved 1 hard level problem -

  • k no of queues in single array

πŸ“… *DAY 67

  • πŸ“† 19-09-2022 MONDAY

Today i solved 1 hard level problem - -> sum of minimum and maximum element in every window of K

πŸ“… *DAY 68

  • πŸ“† 20-09-2022 TUESDAY

Today I have started binary tree

General terms of binary tree -

  1. Node 2)Root 3)Children 4)Parents 5)sibling 6)Ancestor 7)Descendant 8)Leaf

-> Creation of Binary Tree

πŸ“… *DAY 69

  • πŸ“† 21-09-2022 WEDDAY

Today i learned about binary trees -

  1. level order traversal
  2. in order traversal (LNR)
  3. pre order traversal (NLR)
  4. post order traversal (LRN)
  5. creation of tree from level order traversal

πŸ“… *DAY 70

  • πŸ“† 22-09-2022 THURSDAY

Today i solved 2 question on geeks for geeks and code studio -

  1. Count leaf nodes
  2. Measure height of tree

πŸ“… *DAY 71

  • πŸ“† 23-09-2022 FRIDAY

Today i solved 4 question on geeks for geeks -

  1. Diameter of a binary tree
  2. Determine if two trees are identical
  3. Check a tree is balanced or not on every Node
  4. sum tree

πŸ“… *DAY 72

  • πŸ“† 24-09-2022 SATURDAY

Today i solved 3 question on geeks for geeks -

  1. Zig Zag Traversal
  2. Boundary Traversal
  3. Vertical order Traversal

πŸ“… *DAY 73

  • πŸ“† 25-09-2022 SUNDAY

Today i solved 4 question on geeks for geeks -

  1. Top view of Binary Tree
  2. Bottom view of Binary Tree
  3. Left view of Binary Tree
  4. Right view of Binary Tree

πŸ“… *DAY 74

  • πŸ“† 26-09-2022 MONDAY

Today i solved 3 question on geeks for geeks -

  1. Sum of longest blood line of a tree
  2. lowest common Ancestor in a binary tree
  3. k sum tree

πŸ“… *DAY 75

  • πŸ“† 27-09-2022 TUESDAY

Today i solved 2 question on geeks for geeks -

  1. Kth Ancestor in a Tree
  2. Maximum sum of Non-adjacent Nodes

πŸ“… *DAY 76

  • πŸ“† 28-09-2022 WEDNUSDAY

Today i solved 2 question on geeks for geeks -

  1. Construct tree from Inorder & Preorder
  2. Tree form Postorder and Inorder

πŸ“… *DAY 77

  • πŸ“† 29-09-2022 THURSDAY

Today i solved 1 question on geeks for geeks -

  1. Burning Tree

πŸ“… *DAY 78

  • πŸ“† 30-09-2022 FRIDAY

Today i solved 1 question on geeks for geeks -

  1. Flatten Binary Tree to Linked list

and learned a algo of MORRIS TRAVERSAL

πŸ“… *DAY 79

  • πŸ“† 01-10-2022 SATURDAY

Today I have solved 1 problem on code studio

  1. Search a Node in BST

And learn about

Binary Search Tree Insert a Node in BST Search a Node in BST Min/Max Value in BST Delete a Node in BST

πŸ“… *DAY 80

  • πŸ“† 02-10-2022 SUNDAY

Today I have solved 3 problems on code studio and leet code -

  1. Valid BST
  2. Find K th smallest Element in BST
  3. Predecessor And Successor In BST

πŸ“… *DAY 81

  • πŸ“† 03-10-2022 MONDAY

TODAY I SOLVED 2 QUESTIONS ON CODE STUDIO -

  1. LCA OF 2 NODES IN A BST
  2. TWO SUM IN BST

πŸ“… *DAY 82

  • πŸ“† 04-10-2022 TUESDAY

TODAY I SOLVED 3 QUESTIONS ON CODE STUDIO -

  1. FLATTEN BST TO A SORTED LIST
  2. NORMAL BST TO BALANCED BST
  3. BST FROM PREORDER

πŸ“… *DAY 83

  • πŸ“† 05-10-2022 WEDNUSDAY

TODAY I SOLVED 1 QUESTIONS ON CODE STUDIO -

  1. MERGE TWO BST

AND SOLVED 3 QUESIONS ON CODE CHEF -

  1. PODIUM FINISH
  2. MINIMUM PIZZAS
  3. BUILDING RACE

πŸ“… *DAY 84

  • πŸ“† 06-10-2022 THURSDAY

TODAY I SOLVED 1 PROBLEM ON CODE STUDIO -

  1. SIZE OF LARGEST BST IN BINARY TREE

AND SOLVED 2 PROBLEMS FROM CODE CHEF CONTEST -

  1. SINGLE OPERATION - PART 1
  2. SINGLE OPERATION - PART 2

AND I GOT #1 STAR ON CODECHEF IN MY FIRST CONTEST

πŸ“… *DAY 85

  • πŸ“† 07-10-2022 FRIDAY

TODAY I SOLVED 1 PROBLEM ON CODE STUDIO -

  1. BUILD MIN HEAP

TODAY I LEARNED ABOUT -

-> INTRODUCTION TO HEAP & CBT -> MAX HEAP AND MIN HEAP -> INSERTION IN HEAP -> HEAP CLASS IMPLEMENTION -> INSERTION CODE -> DELETION IN HEAP -> HEAPIFY ALGORITHM -> HEAPIFY CODE -> HEAP SORT -> HEAP SORT CODE -> PRIORITY QUEUE

πŸ“… *DAY 86

  • πŸ“† 08-10-2022 SATURDAY

TODAY I SOLVED 2 PROBLEMS ON GEEKS FOR GEEKS -

  1. K th SMALL ELEMENT USING HEAP
  2. IS BINARY TREE HEAP

πŸ“… *DAY 87

  • πŸ“† 09-10-2022 SUNDAY

TODAY I SOLVED 3 PROBLEMS ON GEEKS FOR GEEKS & CODE STUDIO -

  1. MERGE TWO BINARY MAX HEAP
  2. MINIMUM COST OF ROPES
  3. CONVERT BST TO MIN HEAP

πŸ“… *DAY 88

  • πŸ“† 10-10-2022 MONDAY

TODAY I SOLVED 3 PROBLEMS ON CODE STUDIO -

  1. K th LARGEST SUM SUBARRAY
  2. MERGE K SORTED ARRAY
  3. MERGE K SORTED LINKED LIST

πŸ“… *DAY 89

  • πŸ“† 11-10-2022 TUESDAY

TODAY I SOLVED 2 HARD LEVEL PROBLEMS ON CODE STUDIO -

  1. SMALLEST RANGE FROM K SORTED LIST
  2. MEDIAN IN A STREAM

πŸ“… *DAY 90

  • πŸ“† 12-10-2022 WEDNUSDAY

Today i solved 1 problem on code studio -

  1. Maximum Frequency Number

Today I have learn about HASHMAP -

Introduction to HashMaps Why we need hash maps ? HashMap Implementation Map STL Bucket Array Hash Functions Collision & its Handling Open Hashing Closed Addressing

πŸ“… *DAY 91

  • πŸ“† 13-10-2022 THURSDAY

Today i solved 2 problems on code studio -

  1. Implement trie
  2. Longest Common Prefix

Today I have learn about tries

What is Trie ? Insert in Trie Insertion Algo Search in Trie Trie Implementation Remove in Trie

πŸ“… *DAY 92

  • πŸ“† 14-10-2022 FRIDAY

Today i solved 2 HARD problems on code studio -

  1. IMPLEMENT A PHONE DICTIONARY
  2. RAT IN A MAZE PROBLEM

πŸ“… *DAY 93

  • πŸ“† 15-10-2022 SATURDAY

TODAY I SOLVED 2 HARL LEVEL QUESTIONS ON CODE STUDIO -

  1. THE N - QUEENS PROBLEM
  2. SUDOKU SOLVER

πŸ“… *DAY 94

  • πŸ“† 16-10-2022 SUNDAY

Today I have learn about graph -

->>Introduction to graph ->>Directed

Undirected ->>Degree ->Indegree ,outdegree ->>Node ->>Edges ->>Weight graph ->>Weight cyclic directed graph Weight acyclic directed graph ->>Adjacency matrix ->>Adjacency list

And solved 1 problem statement on code studio -

  1. Creating and Printing

πŸ“… *DAY 95

  • πŸ“† 17-10-2022 MONDAY

Today I solved 2 problem statement on code studio -

  1. BFS(Breath first search) Traversal in Graph
  2. DFS(depth first search) Traversal in Graph

πŸ“… *DAY 96

  • πŸ“† 18-10-2022 TUESDAY

Today I solved 3 problem statement on code studio -

  1. Detect cycle in a Undirected Graph using BFS
  2. Detect cycle in a Undirected Graph using DFS
  3. Detect cycle in a Directed Graph using DFS

πŸ“… *DAY 97

  • πŸ“† 19-10-2022 WEDNUSDAY

Today I solved 3 problem statement on code studio -

  1. Topological Sort using DFS
  2. Topological Sort using BFS
  3. Detect cycle in a Directed Graph using BFS

πŸ“… *DAY 98

  • πŸ“† 20-10-2022 THURSDAY

Today I solved 2 problem statement on code studio -

  1. Shortest path in undirected graphs
  2. Shortest path in directed Acyclic graphs

πŸ“… *DAY 99

  • πŸ“† 21-10-2022 FRIDAY

Today I solved 2 problem statement on code studio -

  1. Dijkstra's Algorithm
  2. Minimum Spanning Tree Prim's Algorithm

πŸ“… *DAY 100

  • πŸ“† 22-10-2022 FRIDAY

Today I Solved 2 Problems On Code Studio -

  1. Kruskal's Algorithm Disjoint Set Union by Rank & Path Compression.
  2. Find Bridges in Graphs

πŸ“… *DAY 101

  • πŸ“† 04-11-2022 FRIDAY

Today i solved 3 hard level problems on code studio & leetcode -

  1. Articulation Points in Graphs
  2. Count strongly connected components ( KOSARAJU's Algorithm)
  3. Bellman Ford

πŸ“… *DAY 102

  • πŸ“† 05-12-2022 SATURDAY

Today I Started Dynamic Programing -

  1. Top Down - Recursion + Memorizing
  2. Bottom Up - Tabulation
  3. Space Optimization

And Solved Nth Fibonacci Series Using above 3 approaches on Code Studio

πŸ“… *DAY 103

  • πŸ“† 06-11-2022 SUNDAY

Today i solved 3 problems on code studio & leetcode Using Dynamic Programing -

  1. Count ways to reach Nth stairs
  2. Min cost climbing stairs
  3. Minimum Elements

πŸ“… *DAY 104

  • πŸ“† 07-11-2022 MONDAY

Today i solved 2 problems on code studio Using Dynamic Programing -

  1. Maximum Sum of Non-Adjacent Elements
  2. House robber - 2

using all 3 approaches

  1. Top Down - Recursion + Memorizing
  2. Bottom Up - Tabulation
  3. Space Optimization

πŸ“… *DAY 105

  • πŸ“† 08-11-2022 TUESDAY

Today i solved 4 problems on code studio & leetcode Using Dynamic Programing -

  1. Cut into segments
  2. Count derangements
  3. Ninja And The Fence
  4. 01 Knapsack

using all 3 approaches

  1. Top Down - Recursion + Memorizing
  2. Bottom Up - Tabulation
  3. Space Optimization

πŸ“… *DAY 106

  • πŸ“† 09-11-2022 WEDNESDAY

Today i solved 2 problems on code studio & geeks for geeks Using Dynamic Programing -

  1. Combination Sum IV
  2. Get Minimum Squares

using all 3 approaches

  1. Top Down - Recursion + Memorizing
  2. Bottom Up - Tabulation
  3. Space Optimization

πŸ“… *DAY 107

  • πŸ“† 10-11-2022 THURSDAY

Today i solved 2 problems on code studio & geeks for geeks Using Dynamic Programing -

  1. Ninja's Trip (code studio)/Minimum cost for tickets (leetcode)
  2. Largest square area in matrix

using all 3 approaches

  1. Top Down - Recursion + Memorizing
  2. Bottom Up - Tabulation
  3. Space Optimization

πŸ“… *DAY 108

  • πŸ“† 11-11-2022 FRIDAY

Today I solved 2 problems on Leet Code Using Dynamic Programing -

  1. Minimum Score Triangulation of Polygon
  2. Minimum Sideway Jumps
  3. Reducing dishes

using all 3 approaches

  1. Top Down - Recursion + Memorizing
  2. Bottom Up - Tabulation
  3. Space Optimization

πŸ“… *DAY 109

  • πŸ“† 12-11-2022 SATURDAY

Today I solved 4 problems on Leet Code & geeks for geeks Using Dynamic Programing -

  1. Longest Increasing Subsequence
  2. Russian Doll Envelopes
  3. Pizza with 3n Slices
  4. Number of Dice Rolls with Target Sum

using all 3 approaches

  1. Top Down - Recursion + Memorizing
  2. Bottom Up - Tabulation
  3. Space Optimization

πŸ“… *DAY 110

  • πŸ“† 13-11-2022 SUNDAY

Today I solved 3 HARD problems on Leet Code & geeks for geeks Using Dynamic Programing -

  1. Minimum Swaps To Make Sequences Increasing
  2. Longest Arithmetic Progression
  3. Partition Equal Subset Sum

using all 3 approaches

  1. Top Down - Recursion + Memorizing
  2. Bottom Up - Tabulation
  3. Space Optimization

πŸ“… *DAY 111

  • πŸ“† 14-11-2022 MONDAY

Today I solved 3 problems on Leet Code Using Dynamic Programing -

  1. Longest Arithmetic Subsequence of given differrence
  2. Unique Binary Search Trees 3 Guess Number Higher or Lower

using all 3 approaches

  1. Top Down - Recursion + Memorizing
  2. Bottom Up - Tabulation
  3. Space Optimization

πŸ“… *DAY 112

  • πŸ“† 15-11-2022 TUESDAY

Today I solved 8 problems on Leet Code Using Dynamic Programing -

  1. Minimum Cost Tree From Leaf Values
  2. Best time to buy and sell stock - Part 1
  3. Best time to buy and sell stock - Part 2
  4. Best time to buy and sell stock - Part 3
  5. Best time to buy and sell stock - Part 4
  6. Best Time to Buy and Sell Stock with Transaction Fee
  7. Longest Common Subsequence in string
  8. Longest Palindromic Subsequence

using all 3 approaches

  1. Top Down - Recursion + Memorizing
  2. Bottom Up - Tabulation
  3. Space Optimization

πŸ“… *DAY 113

  • πŸ“† 16-11-2022 WEDNESDAY

Today I solve 3 problems of Dynamic Programming -

  1. Edit Distance
  2. Maximal Rectangle
  3. Wildcard Matching

And Solved 9 Questions from GREEDY Algorithm -

  1. N meetings in one room
  2. Shop in candy Store
  3. Check if it is possible to survive on island
  4. Reverse Words in a given string
  5. Chocolate Distribution Problem
  6. Minimum Cost of ropes
  7. Huffman Encoding
  8. Fractionsal Knapsack
  9. Job Sequencing Problem

πŸ“… *DAY 114

  • πŸ“† 17-11-2022 THURSDAY

FROM TODAY I AM STARTING A2Z DSA SHEET BY Raj Vikramaditya (STRIVER SDE SHEET)

TODAY I REVISED STL LIBRARY FROM STRIVER'S VIDEO

AND SOLVED SOME BASICS MATHS PROBLEMS -

  1. Count Digits
  2. Reverse a Number
  3. Check Palindrome
  4. GCD Or HCF
  5. Armstrong Numbers
  6. Print all Divisors
  7. Check for Prime

πŸ“… *DAY 115

  • πŸ“† 18-11-2022 FRIDAY

TODAY I SOLVED SOME PROBLEMS USING RECURSION FROM STRIVER'S A2Z SHEET -

  1. Understand recursion by print something N times
  2. Print name N times using recursion
  3. Print 1 to N using recursion
  4. Print N to 1 using recursion 5 Sum of first N numbers
  5. Factorial of N numbers
  6. Reverse an array
  7. Check if a string is palindrome or not
  8. Fibonacci Number
  9. Counting frequencies of array elements
  10. Find the highest/lowest frequency element

πŸ“… *DAY 116

  • πŸ“† 19-11-2022 SATURDAY

TODAY I SOLVED SOME SORTING ALGO FROM STRIVER'S A2Z SHEET -

  1. Selection Sort
  2. Bubble Sort
  3. Insertion Sort
  4. Merge Sort
  5. Recursive Bubble Sort
  6. Recursive Insertion Sort
  7. Quick Sort

πŸ“… *DAY 117

  • πŸ“† 20-11-2022 SUNDAY

TODAY I SOLVED 8 PROBLEMS ON ARRAY FROM STRIVER'S A2Z SHEET -

  1. Largest Element in an Array
  2. Second Largest Element in an Array without sorting
  3. Check if the array is sorted
  4. Remove duplicates from Sorted array
  5. Left Rotate an array by one place
  6. Left rotate an array by D place
  7. Move Zeros to end
  8. Linear Search

πŸ“… *DAY 118

  • πŸ“† 21-11-2022 MONDAY

TODAY I SOLVED 8 PROBLEMS ON ARRAY FROM STRIVER'S A2Z SHEET -

  1. Find the Union and intersection of two sorted arrays
  2. Find missing number in an array.
  3. Maximum Consecutive Ones
  4. Subarray with given sum
  5. Find the Missing Number
  6. Find the number that appears once, and other numbers twice.
  7. Search an element in a 2D matrix
  8. Find the row with maximum number of 1’s

πŸ“… *DAY 119

  • πŸ“† 22-11-2022 TUESDAY

TODAY I SOLVED 8 PROBLEMS ON ARRAY FROM STRIVER'S A2Z SHEET -

  1. 2Sum Problem
  2. Sort an array of 0’s 1’s and 2’s
  3. Majority Element (>n/2 times)
  4. Kadane’s Algorithm, maximum subarray sum
  5. Print subarray with maximum subarray sum (extended version of above problem)
  6. Stock Buy and Sell
  7. Rearrange the array in alternating positive and negative items
  8. Next Permutation

πŸ“… *DAY 120

  • πŸ“† 23-11-2022 WEDNESDAY

TODAY I SOLVED 8 PROBLEMS ON ARRAY FROM STRIVER'S A2Z SHEET on leetcode and geeks for geeks

  1. Leaders in an Array problem
  2. Longest Consecutive Sequence in an Array
  3. Set Matrix Zeros
  4. Rotate Matrix by 90 degree
  5. Print the matrix in spiral manner

πŸ“… *DAY 121

  • πŸ“† 24-11-2022 THURSDAY

TODAY I SOLVED 2 HARD PROBLEMS ON ARRAY FROM STRIVER'S A2Z SHEET on leetcode and geeks for geeks

  1. Pascal's Triangle
  2. Majority Element II

πŸ“… *DAY 122

  • πŸ“† 25-11-2022 FRIDAY

TODAY I SOLVED 3 HARD PROBLEMS ON ARRAY FROM STRIVER'S A2Z SHEET on leetcode and geeks for geeks

  1. Three Sum
  2. Four Sum
  3. Largest Subarray with 0 Sum

πŸ“… *DAY 123

  • πŸ“† 26-11-2022 SATURDAY

TODAY I SOLVED 3 HARD PROBLEMS ON ARRAY FROM STRIVER'S A2Z SHEET on leetcode and geeks for geeks

  1. Count number of subarrays with given xor K
  2. Merge Overlapping Subintervals
  3. Merge two sorted arrays without extra space

πŸ“… *DAY 124

  • πŸ“† 27-11-2022 SUNDAY

TODAY I SOLVED 2 HARD PROBLEMS ON ARRAY FROM STRIVER'S A2Z SHEET on geeks for geeks

  1. Find the repeating and missing number
  2. Count Inversions

πŸ“… *DAY 125

  • πŸ“† 28-11-2022 MONDAY

TODAY I SOLVED 10 PROBLEMS ON ARRAY FROM STRIVER'S A2Z SHEET on leetcode and geeks for geeks

  1. Reverse Pairs
  2. Maximum Product Subarray
  3. Binary Search to find X in sorted array
  4. Implement Lower Bound
  5. Implement Upper Bound
  6. Search Insert Position
  7. Check if Input array is sorted
  8. Find the first or last occurrence of a given number in a sorted array
  9. Count occurrences of a number in a sorted array with duplicates
  10. Find peak element

πŸ“… *DAY 126

  • πŸ“† 29-11-2022 TUESDAY

TODAY I SOLVED 4 PROBLEMS USING BINARY SEARCH FROM STRIVER'S A2Z SHEET on leetcode and geeks for geeks

  1. Search in Rotated Sorted Array I
  2. Search in Rotated Sorted Array II
  3. Find minimum in Rotated Sorted Array
  4. Single element in a Sorted Array

πŸ“… *DAY 127

  • πŸ“† 30-11-2022 WEDDAY

Today i solved 4 problems using binary search -

  1. Find kth element of two sorted arrays
  2. Find out how many times has an array been rotated
  3. Search in a 2 D matrix
  4. Find Peak Element

Contributors

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published