DSA-EndGame GitHub Details, Stars and Alternatives | OpenRepoFinder
hiimvikash / repository
DSA-EndGame
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.
A transparent discovery signal based on current public GitHub metadata.
Recent activity35% weight
52
Community adoption25% weight
45
Maintenance state20% weight
85
License clarity10% weight
100
Project information10% weight
75
This score does not audit code, security, maintainers, documentation quality, or suitability. Verify the repository and its current documentation before adoption.
README preview
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.).
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🔥.
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.
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]
}
}
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
}
// this is a PQ of ARRAY of size 2
Comparator<int[]> ShortDisFromOrigin = (int p1[], int p2[]) -> ((p1[0]*p1[0]) + (p1[1]*p1[1])) - ((p2[0]*p2[0]) + (p2[1]*p2[1]));
Priorit