Skip to content

Commit 6025aeb

Browse files
Merge branch 'main' into patch-2
2 parents add2f97 + 00ae37d commit 6025aeb

File tree

15 files changed

+618
-24
lines changed

15 files changed

+618
-24
lines changed

ASSIGNMENT_SOLUTIONS.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,3 +10,4 @@
1010
- Adarsh Navneet Sinha's [solutions](https://github.com/geeky01adarsh/DSA-Interview-Questions) (in C++)
1111
- Aditya Chauhan's [solution](https://github.com/aditya-2703/DSA)(Python)
1212
- Deepak Mittal's [solutions](https://github.com/yesdeepakmittal/competitive-coding/tree/main/Kunal-DSA-Py-Solution)(Python)
13+
- Alok Verma's [solutions](https://github.com/alokVerma749/DSA-Bootcamp-assignment-solutions.git)(Java)

assignments/07-sorting.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,8 @@
33
- [Selection Sort](https://youtu.be/Nd4SCCIHFWk)
44
- [Insertion Sort](https://youtu.be/By_5-RRqVeE)
55
- [Cycle Sort](https://www.youtube.com/watch?v=JfinxytTYFQ&list=RDCMUCBGOUQHNNtNGcGzVq5rIXjw&start_radio=1&rv=JfinxytTYFQ&t=2)
6+
- [Merge Sort](https://youtu.be/iKGAgWdgoRk)
7+
- [Quick Sort](https://youtu.be/Z8svOqamag8)
68

79
# Questions
810

assignments/10-recursion.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@
66
## Easy
77
- [Sum Triangle from Array](https://www.geeksforgeeks.org/sum-triangle-from-array/) `GFG`
88
- [Maximum and Minimum value in an array](https://www.geeksforgeeks.org/recursive-programs-to-find-minimum-and-maximum-elements-of-array/) `GFG`
9+
- [Binary Search using recursion](https://leetcode.com/problems/binary-search/) `leetcode`
910
- [First Uppercase Letter in a String](https://www.geeksforgeeks.org/first-uppercase-letter-in-a-string-iterative-and-recursive/) `GFG`
1011
- [Reverse String](https://leetcode.com/problems/reverse-string/) `leetcode`
1112
- [Print 1 To N Without Loop](https://practice.geeksforgeeks.org/problems/print-1-to-n-without-using-loops-1587115620/1/) `GFG`
@@ -91,3 +92,4 @@
9192
- [The Knight's tour](https://www.geeksforgeeks.org/the-knights-tour-problem-backtracking-1/) `GFG`
9293
- [Maximum number possible by doing at-most K swaps](https://www.geeksforgeeks.org/find-maximum-number-possible-by-doing-at-most-k-swaps/) `GFG`
9394
- [HackerRank](https://www.hackerrank.com/domains/algorithms?filters%5Bsubdomains%5D%5B%5D=recursion&filters%5Bdifficulty%5D%5B%5D=hard)
95+
- [Concatenated Words](https://leetcode.com/problems/concatenated-words/)`leetcode`

assignments/14-oop.md

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,3 +29,12 @@
2929
- [Private classes and singleton classes in Java](https://www.geeksforgeeks.org/private-constructors-and-singleton-classes-in-java/) `GFG`
3030
- [How to prevent Singleton Pattern from Reflection, Serialization and Cloning?](https://www.geeksforgeeks.org/prevent-singleton-pattern-reflection-serialization-cloning/) `GFG`
3131
- [Double-Check Locking For Singleton Class](https://www.geeksforgeeks.org/java-program-to-demonstrate-the-double-check-locking-for-singleton-class/) `GFG`
32+
33+
# Practice Problems
34+
- [Inheritance I](https://www.hackerrank.com/challenges/java-inheritance-1/problem?isFullScreen=true) `HackerRank`
35+
- [Inheritance II](https://www.hackerrank.com/challenges/java-inheritance-2/problem?isFullScreen=true) `HackerRank`
36+
- [Java Abstract class](https://www.hackerrank.com/challenges/java-abstract-class/problem?isFullScreen=true) `HackerRank`
37+
- [Interface](https://www.hackerrank.com/challenges/java-interface/problem?isFullScreen=true) `HackerRank`
38+
- [Method Overriding I](https://www.hackerrank.com/challenges/java-method-overriding/problem?isFullScreen=true) `HackerRank`
39+
- [Method Overriding II (Use super keyword)](https://www.hackerrank.com/challenges/java-method-overriding-2-super-keyword/problem?isFullScreen=true) `HackerRank`
40+
- [Java instanceof keyword](https://www.hackerrank.com/challenges/java-instanceof-keyword/problem?isFullScreen=true) `HackerRank`

assignments/15-linkedlist.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@
1010
- [Intersection of Two Linked Lists](https://leetcode.com/problems/intersection-of-two-linked-lists/) `leetcode`
1111
- [Linked List Cycle](https://leetcode.com/problems/linked-list-cycle/) `leetcode` `Samsung`
1212
- [Remove Duplicates from Sorted List](https://leetcode.com/problems/remove-duplicates-from-sorted-list/)`leetcode`
13+
- [Find All Numbers Disappeared in an Array](https://leetcode.com/problems/find-all-numbers-disappeared-in-an-array/) `leetcode`
1314

1415
## Medium
1516
- [Design Twitter](https://leetcode.com/problems/design-twitter/) `leetcode`
@@ -28,6 +29,7 @@
2829
- [Design Browser History](https://leetcode.com/problems/design-browser-history/) `leetcode`
2930
- [Partition list](https://leetcode.com/problems/partition-list/) `leetcode`
3031
- [Find first node of loop in a linked list](https://www.geeksforgeeks.org/find-first-node-of-loop-in-a-linked-list/) `GFG`
32+
- [Swap Nodes in Pairs](https://leetcode.com/problems/swap-nodes-in-pairs/)`leetcode`
3133

3234
## Hard
3335
- [Reverse Nodes in k-Group](https://leetcode.com/problems/reverse-nodes-in-k-group/) `leetcode`
3.58 MB
Binary file not shown.

lectures/17-oop/code/src/com/kunal/properties/polymorphism/Circle.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,6 @@ public class Circle extends Shapes{
66
// hence it is overriding the parent method
77
@Override // this is called annotation
88
void area() {
9-
System.out.println("Area is pie * r * r");
9+
System.out.println("Area is pi * r * r");
1010
}
1111
}

lectures/17-oop/notes/inheritance.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,7 @@ class Box {
4848
width = ob.width;
4949
height = ob.height;
5050
depth = ob.depth;
51+
}
5152
}
5253

5354
class BoxWeight extends Box {

lectures/17-oop/notes/static.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ A static method can access only static data. It cannot access non-static data (i
1010
A non-static member belongs to an instance. It's meaningless without somehow resolving which instance of a class you
1111
are talking about. In a static context, you don't have an instance, that's why you can't access a non-static member
1212
without explicitly mentioning an object reference.
13-
n fact, you can access a non-static member in a static context by specifying the object reference explicitly :
13+
In fact, you can access a non-static member in a static context by specifying the object reference explicitly :
1414
public class Human {
1515

1616
String message = "Hello World";
2.46 MB
Binary file not shown.

0 commit comments

Comments
 (0)