Skip to content

Commit cffd351

Browse files
2 parents baa1ddb + a44cb50 commit cffd351

File tree

9 files changed

+59
-6
lines changed

9 files changed

+59
-6
lines changed

SYLLABUS.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -34,18 +34,18 @@
3434
- Memory management
3535
- Input and Output
3636
- ArrayList Introduction
37+
- Searching
38+
- Linear Search
39+
- Binary Search
40+
- Modified Binary Search
41+
- (more later)
3742
- Sorting
3843
- Insertion Sort
3944
- Selection Sort
4045
- Bubble Sort
4146
- Count Sort
4247
- Radix Sort
4348
- Cyclic Sort
44-
- Searching
45-
- Linear Search
46-
- Binary Search
47-
- Modified Binary Search
48-
- (more later)
4949
- Sliding window
5050
- Two Pointer
5151
- Subarray Questions
File renamed without changes.
File renamed without changes.

assignments/functions.md renamed to assignments/4-functions.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ Also,
3737

3838
11. Convert the programs in [flow of program](flow-of-program.md), [conditionals & loops](conditionals-loops.md), [first java](first-java.md) assignemts into functions.
3939

40-
12. Write a function to check if a given triplet is a pythogorian triplet or not. (A pythogorian triplet is when the sum of the square of two number is equal to the square of the third number).
40+
12. Write a function to check if a given triplet is a Pythagorean triplet or not. (A Pythagorean triplet is when the sum of the square of two number is equal to the square of the third number).
4141

4242
13. Write a function that returns all prime numbers between two given numbers.
4343

assignments/arrays.md renamed to assignments/5-arrays.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,3 +33,4 @@
3333
3. [Product of Array Except Self](https://leetcode.com/problems/product-of-array-except-self/)
3434
4. [Find First and Last Position of Element in Sorted Array](https://leetcode.com/problems/find-first-and-last-position-of-element-in-sorted-array/)
3535
5. [Jump Game](https://leetcode.com/problems/jump-game/)
36+
6. [Rotate Array](https://leetcode.com/problems/rotate-array/)
File renamed without changes.

assignments/patterns.txt

Lines changed: 52 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -159,3 +159,55 @@ Print these patterns using loops:
159159
*** ***
160160
** **
161161
* *
162+
163+
164+
19. ****
165+
* *
166+
* *
167+
* *
168+
****
169+
170+
20. 1
171+
2 3
172+
4 5 6
173+
7 8 9 10
174+
11 12 13 14 15
175+
176+
21. 1
177+
0 1
178+
1 0 1
179+
0 1 0 1
180+
1 0 1 0 1
181+
182+
22. * *
183+
* * * *
184+
* * *
185+
186+
23. * *
187+
** **
188+
* * * *
189+
* * * *
190+
* ** *
191+
* ** *
192+
* * * *
193+
* * * *
194+
** **
195+
* *
196+
197+
24. *****
198+
* *
199+
* *
200+
* *
201+
*****
202+
203+
25. 1 1 1 1 1 1
204+
2 2 2 2 2
205+
3 3 3 3
206+
4 4 4
207+
5 5
208+
6
209+
210+
26. 1 2 3 4 17 18 19 20
211+
5 6 7 14 15 16
212+
8 9 12 13
213+
10 11
Binary file not shown.

0 commit comments

Comments
 (0)