Skip to content

In this repository I will upload solution of dsa problems which I am solving from various platform like leetcode , geeksforgeeks etc...

Notifications You must be signed in to change notification settings

jeetsavsani1173/100-Days-of-Code

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

DSA using C++ Language

This repository contains all the coding problems solved by me.

  • Find all topic wise questions in different folders:)
  • From Basic to Hard level questions under each topic
  • Problems are from Leetcode and Geeksforgeeks website.
  • Separate folders for CP. All Solutions are not optimised

Data Structures in Big O Notation

Data Structure Add/Insert Remove/Delete Access/Get Search/Contains Space Complexity
Array O(n) O(n) O(1) O(n) O(n)
Set O(logn) O(logn) - O(logn) O(n)
Unordered Set O(1)Average O(n)Worst O(1)Average O(n)Worst - O(1)Average O(n)Worst O(n)
Map O(logn) O(logn) - O(logn) O(n)
Unordered Map O(1)Average O(n)Worst O(1)Average O(n)Worst - O(1)Average O(n)Worst O(n)
Stack O(1) O(1) O(n) O(n) O(n)
Queue O(1) O(1) O(n) O(n) O(n)
Binary Search Tree O(log n) O(log n) O(log n) O(log n) O(n)
Binary Min Heap O(log n) O(log n) O(1) O(n) O(n)
Binary Max Heap O(log n) O(log n) O(1) O(n) O(n)

Sorting Algorithms in Big O Notiation

Sort Algorithm Best Average Worst Space Complexity
Selection Sort O(n^2) O(n^2) O(n^2) O(1)
Bubble Sort O(n^2) O(n^2) O(n^2) O(1)
Insertion Sort O(n) O(n^2) O(n^2) O(1)
Quick Sort O(n logn) O(n logn) O(n^2) O(logn)
Merge Sort O(n logn) O(n logn) O(n logn) O(n)
Counting Sort O(n+k) O(n+k) O(n+k) O(k)
Tim Sort O(n) O(n logn) O(n logn) O(n)
Heap Sort O(n long) O(n logn) O(n logn) O(1)
Shell Sort O(n) O((n logn)^2) O((n logn)^2) O(1)
Bucket Sort O(n+k) O(n+k) O(n^2) O(1)
Radix Sort O(nk) O(nk) O(nk) O(n+k)

100 Days of Code

This will be the repository for C++ topic wise questions, practice questions and DSA :)

Day 01 :

Learned basics of arrays

Solved Some Problems

Day 02 :

Solved Some Problems on arrays

Day 03 :

Learned basics of strings

Solved Some Problems

Day 04 :

Practiced problems of strings

Day 05 :

Learned sorting

Solved Some Problems

Day 06 :

Praciced some problems of sorting

Day 07 :

Learned searching

Done some practice of slinding window technique

Day 08 :

Solved problems on searching

Appeared for CodeChef June Long Challenge and solved 1 question

Appeared for Codeforces Educational Round 110

Day 09 :

Solved a question of CodeChef june long challenge

Solved some questions on prefixsum technique

Day 10 :

Started hashing but can't understand cause of lack knowledge of OOPS.

Started little bit OOPS in C++

Day 11 :

Learned basics of OOPS in cpp

Revised chain hashing and open address hashing HashSet

Day 12 :

Learned set and unordered set in C++

Done some problems on strings

Solved a question of CodeChef june long challenge

Day 13 :

Get introduced with map and unordered_map

Solved some problems on hashing

Day 14

Contributed to LGM SOC'21 and learnt the basic etiquette of contributing to open source

Solved some questions on hashing

Day 15

Solved Some Questions

Day 16

Created Math folder and added some basic concepts like:

Solved a question of CodeChef june long challenge

Day 17

Revised Previous Topics

Day 18

Learned Basics of Recursion.

Added solved problems in the codechef june long challenge

Solved Problems of Hashing

Day 19

learned about advance recursion

Day 20

Learned about backtracking

solved some problems on array on leetcode

solved some problems on recursion and backtracking

Day 21

solved some problems on array on leetcode

solved a problems on recursion and backtracking

Day 22

solved some problems on array on leetcode

solved a problems on recursion and backtracking

Day 23

solved a problems on recursion and backtracking

Appeared for CodeChef June cook-off and solved 4 questions

Day 24

Learned Matrix

Solved some problems on leetcode

Day 25

Done some revision of arrays

Solved following problems

Day 26

Solved a problem of hashing which i can't solve before and tried others too but can't solve that

Day 27

Learned about memorization and tabulation in dynamic programming.

Appeared for CodeChef June lunch time and solved 1 questions.

Day 28

Appeared for CodeChef June Starters and solved 4 questions.

Solved some problems of dynamic programming

Day 29

Realized that my knowledge of dp is not sufficient to solve problems of DP. So started Aditya Verma's DP Playlist.

Solved a problem of hash

Day 30

Continued with Aditya Verma's DP Playlist.

Appeared for CodeChef july long challenge and solved 1 question.

Day 31

Felt that right now my level is not enough good to understand DP so skiped it for latter and started LinkedList.

Appeared for Codeforces Round #729 (Div. 2) and solved 1 question.

Day 32

Learned about doubly linkedlist and circular linkedlist

Day 33

Solved following problems

Day 34

Solved following problems

Day 35

Appeared in Codeforces Round #730 (Div. 2) but can't solve anyting

Solved followoing problems

Day 36

Upsolved 2 problems from Codeforces Round #730 (Div. 2)

Solved following problem

Day 37

Solved Following Problems

Day 38

Appeared for Codeforces Round #731 (Div. 3) and solved 4 problems

Solved Following Problems

Day 39

Appeared in Google KickStart Rount D and solved a problem

Appeared in Codeforces Round #732 (Div. 2) and solved a problem

Day 40

Solved Following Problems

Day 41

Learned about stack

Day 42

Solved Following Problems

Appeared in Educational Codeforces Round 111 (Rated for Div. 2) and solved a problem

Day 43

Solved Following Problems

Day 44

Learned about basic functions of queue and dequeue

Solved Following Problems

Day 45

Solved Followinng Problems

Day 46

Solved Following Problems

Day 47

Learned about Binary Trees and implemented basic functions of Binary Trees

Appeared in Harbour.Space Scholarship Contest 2021-2022 (Div. 1 + Div. 2) and solved a problem

Day 48

Appeared in Codeforces Round #734 (Div. 3) and solved 3 problems

Day 49

Learned about advance tree concepts.

Day 50

Continued with advance tree concepts.

Day 51

Solved following problems

Appeared in CodeChef July Cook-Off 2021 Division 2 and solved 3 problems

Day 52

Solved Following problems

Day 53

Solved Following problems

Appeared in Educational Codeforces Round 112 (Rated for Div. 2) and solved a problem

Day 54

Solved Following Problem

Appeared in CodeChef July Lunchtime 2021 Division 2 and solved 1 problem

Day 55

Learned basics of Binary Search Tree and Implemented its basic functions

Appeared in Educational Codeforces Round #736 (Div. 2) and solved a problem

Day 56

Learnded some advance concepts of binary search trees

Day 57

Continued with learning Binary Search Tree

Day 58

Solved Following Problems

Day 59

Solved Following Problems

Appeared in CodeChef August Challenge 2021 Division 2 and solved 3 problems.

Day 60

Appeared in ICPC Preliminary Round and solved 1 problems.

Solved Following Problems

Day 61

Solved Following Problems.

Day 62

Learned basics of heaps

Solved a problem of CodeChef August Long Challenge.

Day 63

Continued with heap videos.

Day 64

Implemented Min Heap in C++.

Day 65

Solved Following Problems.

Appeared in CodeChef Starters 8 Division 2 and solved 2 problems.

Day 66

Solved Following Problems.

Day 67

Solved Following Problems.

Appeared in Codeforces Round #739 (Div. 3) and solved 3 problems.

Day 68

Learned some basic concepts of graph.

Day 69

Continued with learing graph concepts.

Day 70

Appeared in CodeChef August Cook-Off 2021 Division 2 and solved 3 problems.

Day 71

Continued with some advance graph concepts.

Day 72

While solving problems I realized that my knowledge is not sufficient so started to learn graph from CodeNCode.

Solved Following Problem.

Day 73

Continued with graph playlist.

Appeared in Codeforces Round #741 (Div. 2) and solved 1 problem.

Day 74

Continued with graph playlist.

Appeared in CodeChef August Lunchtime 2021 Division 2 and solved 1 problem.

Day 75

Appeared in CodeChef Starters 10 Division 2 (Rated) and solved 2 problems.

Day 76

Solved Following Problems.

Day 77

Solved Following Problems.

Day 78

Appeared in Codeforces Round #742 (Div. 2) and solved 1 problem.

Solved Following Problem.

Day 79

Solved Following Problems.

Day 80

Solved Following Problems.

Day 81

Solved some problems form September Challenge 2021 Division 2.

Solved Following Problems.

Solved a problem from Educational Codeforces Round 113

Day 82

Solved a problem from Educational Codeforces Round 113

Solved Following Problem.

Day 83

Learned about Greedy

Day 84

Solved Following Problems

Solved Following Problems From CodeForces

Appeared in CodeChef Starters 11 Division 2 (Rated) and solved 2 problems.

Day 85

Solved Following Problems

Day 85

Solved Following Problems.

Solved following problem from codeforces.

Day 86

Learned about trie data structure.

Day 87

Appeared in CodeChef Starters 14 Division 2 (Rated) and solved 3 problems.

Day 88

Implemented Basic Function of Trie Data Structure.

Solved Following Prolems.

Day 89

Solved Following Problem.

Appeared in Codeforces Round #744 (Div. 3) and solved 4 problems.

About

In this repository I will upload solution of dsa problems which I am solving from various platform like leetcode , geeksforgeeks etc...

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C++ 95.8%
  • Jupyter Notebook 4.0%
  • Java 0.2%