All Projects → heyimvikash → DSA-EndGame

heyimvikash / DSA-EndGame

Licence: MIT license
I have started Data structures and Algorithms on April 1, 2021, and this repository will be containing my resources, tutorial, codes, and my approach to Qs, for future reference. As I'm in the learning process, this repository will be refreshed daily with my new bits of knowledge.

Programming Languages

java
68154 projects - #9 most used programming language

Projects that are alternatives of or similar to DSA-EndGame

COMPETITVE-PROGRAMMING
Competitive programming is a mind sport usually held over the Internet or a local network, involving participants trying to program according to provided specifications. This repo contains the Detailed Explanation and implementation of Various Coding problems on various platforms in C++
Stars: ✭ 60 (-41.75%)
Mutual labels:  problem-solving, data-structures-and-algorithms
challenge100-codingtest-study
누구나 참여 가능한 알고리즘 코딩테스트 문제풀이 스터디
Stars: ✭ 84 (-18.45%)
Mutual labels:  problem-solving
Algorithms and DS
The Algorithm Studies during the ACM-ICPC Lab lectures
Stars: ✭ 39 (-62.14%)
Mutual labels:  problem-solving
Python
covers python basic to advance topics, practice questions, logical problems in python, web development using html, css, bootstrap, jquery, DOM, Django 🚀🚀. 💥 🌈
Stars: ✭ 29 (-71.84%)
Mutual labels:  problem-solving
CVIP
C/C++/Golang/Linux...知识整理
Stars: ✭ 62 (-39.81%)
Mutual labels:  data-structures-and-algorithms
Code-Collection
个人博客、解决方案、遇到的问题记录、代码片段、笔记
Stars: ✭ 14 (-86.41%)
Mutual labels:  problem-solving
Competitive-Programming-June-Course-
Problem Solving Ability Skills Course
Stars: ✭ 24 (-76.7%)
Mutual labels:  problem-solving
10weeks-codingtest
구름EDU 10주완성 알고리즘 코딩테스트의 해설 답안집입니다
Stars: ✭ 122 (+18.45%)
Mutual labels:  problem-solving
Knowledge Graph Wander
A collection of papers, codes, projects, tutorials ... for Knowledge Graph and other NLP methods
Stars: ✭ 26 (-74.76%)
Mutual labels:  data-structures-and-algorithms
Data-Structures-Algorithms-Hacktoberfest-2K19
collection of data structures and algorithms in different languages - created by the community during Hacktoberfest 2019
Stars: ✭ 34 (-66.99%)
Mutual labels:  data-structures-and-algorithms
codewars python solutions
My CodeWars solutions in Python.
Stars: ✭ 111 (+7.77%)
Mutual labels:  problem-solving
problem-solving
No description or website provided.
Stars: ✭ 56 (-45.63%)
Mutual labels:  problem-solving
PharoPDS
Probabilistic data structures in Pharo Smalltalk.
Stars: ✭ 28 (-72.82%)
Mutual labels:  data-structures-and-algorithms
Advent-of-Code-2019
My solutions for Advent of Code 2019
Stars: ✭ 14 (-86.41%)
Mutual labels:  problem-solving
eva
A simple Java OOP evolutionary algorithm framework.
Stars: ✭ 18 (-82.52%)
Mutual labels:  problem-solving
gh coding test
gahui_coding_test
Stars: ✭ 26 (-74.76%)
Mutual labels:  problem-solving
codeforces-timer
A Google Chrome extension which adds a timer to practice timed problem solving on codeforces
Stars: ✭ 20 (-80.58%)
Mutual labels:  problem-solving
Data-Structures-and-Algorithms
An Open-Source repository that contains all the Data Structures and Algorithms concepts and their implementation in several ways, programming questions and Interview questions. The main aim of this repository is to help students who are learning Data Structures and Algorithms or preparing for an interview.
Stars: ✭ 614 (+496.12%)
Mutual labels:  data-structures-and-algorithms
SimplexSolver
Python script that solves standard linear programs with the Simplex algorithm and outputs step-by-step LaTeX instructions.
Stars: ✭ 38 (-63.11%)
Mutual labels:  problem-solving
LearnCPP
Learn Cpp from Beginner to Advanced ✅ Practice 🎯 Code 💻 Repeat 🔁 One step solution for c++ beginners and cp enthusiasts.
Stars: ✭ 359 (+248.54%)
Mutual labels:  problem-solving

DSA-EndGame 🔥

Data Structures :-

Data Structures is a way of storing/organising data in the memory, in such a way that access, management and modification become efficient.

Algorithms :-

Algorithms is any approach you use to perform operations on data (like searching, sorting, traversing, ..Etc.).

Let's Walk through this repository :-

  1. Data Structures🧐

    1. LinkedList

      1. Singly LinkedList

      2. Doubly LinkedList

      3. Circular LinkedList

    2. Stack

      1. Stack Using Array

      2. Stack Using LinkedList

      3. Queue

      4. Stack Using Queue

      5. Problems on Infix Prefix Postfix

    3. Queue

      1. Queue Using Array

      2. Queue Using LinkedList

      3. Queue Using Stack

      4. Circular Queue using array

      5. Circular Queue using LinkedList

      6. DeQueue using circular array

      7. Priority Queue

    4. Recursion

    5. Tree DS

      1. Introduction to BinaryTree

      2. Binary Search Tree & Implementations

      3. AVL Tree & Implementations

      4. Trie DS & Implementations

      5. Heap DS & Implementations

    6. ArrayList (Comments are too good to understand the working)

    7. HashMap (Comments are too good to understand the working)

    8. Graphs (Raw Notes®️)

  2. Algorithms🤯

    1. Arrays (45+ Questions including LoveBabar DSA sheet + Striver SDE sheet Qs)

    2. Matrix (8 Questions)

    3. Binary Search Busted (15+ Questions)

    4. Sliding Window Bombed💣 (15+ Questions)

    5. Searching & Sorting (30+ Questions)

    6. Recursions 25+ Questions Banged👅(Very Important before starting with Strings)

    7. Dynamic Programming Busted😈(Very Important before starting with Strings)

    8. Now Strings (40+ Questions)

    9. LinkedList(30+ Questions including LoveBabar DSA sheet + Striver SDE sheet Qs)

    10. Trees(50+ Questions)

    11. Stack & Queue(40+ Questions)

    12. Bit Manipulations(10+ Questions)

    13. Heap(20 Questions)

    14. Trie(6 Questions)

    15. Graphs(40+ Questions)

    16. Dyanamic Programming(50+ Questions)

Some Common FAQs :

1. How to make maximum Output from DSA-EndGame🔥?

Follow the Walk strictly and fill up the holes with "Prerequisites" below, then you will feel the smooth knowledge geeting into and expanding your 🧠.

2. Why Have you not Started Data Structures with Arrays?

Array is a topic which has unlimited questions and I believe as a beginner if you start with array then geeting out of it is tough so I don't want you all to get stuck in array only till end and leave other data structures.

I also believe that many of you are very well familiar with concept of array traversing, modifying and etc..so here we will solve only questions of arrays after completing full data structures.

If you have no idea of Arrays then just understand few concept like :- Traversing in array, modifying array, reversing array and some basic questions of array from Hackerrank.

3. How to be consistent while completing DSA-EndGame?

Make a group of not more than 3 friends who are equally passionate like you to master DSA and start peer programming by making a single google sheet shared between your friends and update your daily work in sheet due to which you all will be able to see each others progress daily.

4. Why to prefer this repository over some paid courses which claim to be complete DSA course?

Except pepcoding resources I haven't found any course which would satisfy my heart, In every courses either there will be some topic missing or topic done with few questions only.

So I tell you the best platform is Youtube.

Now the problem arises with Youtube is best videos in each topics are scattered in all over different channels like DP is best explained by AdityaVerma, Stack & Queues are best explained by SimpleSnipets, Question solutions are best explained by Striver Bhaiya simillarly many topic have their own best channels.

So all you need is Guided path and Youtube videos link attached with each Questions and topics.

and your above need is fulfilled, has been tried to be fulfilled with DSA-EndGame🔥.

Thankyou.

Prerequisites :-

  1. PROGRAMMING LANGUAGE.
trueAF.mp4
  1. CLASS AND OBJECTS.
  2. CONSTRUCTOR.
  3. this KEYWORD.
  4. ACCESS MODIFIERS IN JAVA.
  • Public- The access level of public modifier is everywhere. Methods, variables declared public can be accesed from anywhere after importing that class.

  • Default- The access level of default modifier is within package. Methods, variables declared default can be accesed from other classes of same package.

  • Private- The access level of private modifier is within the class. Methods, variables declared private cannot be accesed from outside the class.

  1. ENCAPSULATION.
  2. STATIC KEYWORD IN JAVA.
    • You can call static methods from non static method but reverse is not true.
  3. INNER CLASS IN JAVA.
  4. Pass by value.
  5. Pass by refrence.
import java.util.*;

public class Hi {

	// here value is copied in localVariable 'a'.
	public static void incrementPrimitiveDT(int a) {
		a++;
	}

	// here reference is copied, means 'input' is also pointing to 'arr'.
	public static void incrementReferenceDT(int input[]) {
		for(int i=0;i<input.length;i++) {
			input[i]++;
		}
	}


	public static void main(String[] args) {
		int i=10;
		incrementPrimitiveDT(i); // passByValue
		System.out.println(i); // 10


		int arr[]= {1,2,3,4,5};
		incrementReferenceDT(arr); // passByReference
		System.out.println(Arrays.toString(arr)); // [2, 3, 4, 5, 6]
	}
}
  1. Strings are immutable.
  2. == & .equals in String.
  3. Wrapper class in java.
    • Object creation and memory allocation in Integer class.

    public static void main(String[] args) {
		// case 1:
				Integer i= new Integer(1);
				Integer j=new Integer(1);
				System.out.println(i==j); // false,  coz == check reference address of i and j, and here 'i' is pointing to 1 (i---> 1) and 'j' is pointing to different 1 (j---> 1)
				System.out.println(i.equals(j)); // true

		// case 2:
				Integer a=new Integer(2);
				Integer b=2;

				System.out.println(a==b); // false
				System.out.println(a.equals(b)); // true

		// case 3:
				Integer x=new Integer(3);
				Integer y=x;

				System.out.println(x==y); // true
				System.out.println(x.equals(y)); // true


		// case 4
				Integer p=128;
				Integer q=128;
				System.out.println(p==q); // false
				System.out.println(p.equals(q)); // true

		// case 5 -128 to 127 is in cached memory so they point to same object without creating it instances.
				Integer s=50;
				Integer t=50;
				System.out.println(s==t); // true
				System.out.println(s.equals(t)); // true
    }
  1. Generics in Java.

  2. isequals and hashcode in java by codingSimplified.

  3. % operator in JAVA : dividend % divisor - Here two statement is needed to be taken care :-

    • When Divedend < Divisor then answer is dividend.

    • When Divedend > Divisor then answer lie in between [0 to divisor-1].

  4. Store 2 numbers in a number. (true only in +ve scenerio)

    • To Inject B in A we ADD(+) B*INF in A and store it in A, where INF is any number greater than A and B.
    • to extract old number i.e., A from modified A we do (A % INF).
    • to extract new number(Injected number) i.e., B from modified A we do (A / INF).
    	int a=5;
    	int b=4;// number to be injected
    	int INF=9999;
    	a=a+(b*INF);
    	System.out.println(a%INF); // 5
    	System.out.println(a/INF); //4
  5. Comparator : Collections.sort(al,(a,b)-> scores[b]-scores[a]);



1. Memory Allocation when you initialize a variable.

kunalKushwaha1 1

  • Note : When there is no reference variable pointing to actual object then it is deleted automatically when garbage collection hits.

2. Objects & Reference Variable.

kunalKushwaha1 0

public class Demo{ 
	public static void main(String[] args) {
			Human obj=new Human();
			Human son=obj; // this is his mom who call obj as hisSon.
			Human bro=obj; // this is his sis who call obj as hisBro.
			son.hairCut="done"; // here his mom made him do haircut.
			// here his sister is also able to see his haircut.
			System.out.println(bro.hairCut); // done
		
	}
}
class Human{
	String name="Vikash";
	String hairCut="notDone";
}
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].