@@ -6,29 +6,29 @@ Welcome to Day 18 of our coding adventure! Today, we're diving deep into algorit
6
6
7
7
### Activity 1: Sorting Algorithms
8
8
9
- - [] ** Task 1:** Implement the ** bubble sort** algorithm to sort an array of numbers in ascending order. Log the sorted array.
10
- - [] ** Task 2:** Implement the ** selection sort** algorithm to sort an array of numbers in ascending order. Log the sorted array.
11
- - [] ** Task 3:** Implement the ** quicksort** algorithm to sort an array of numbers in ascending order. Log the sorted array.
9
+ - [X ] ** Task 1:** Implement the ** bubble sort** algorithm to sort an array of numbers in ascending order. Log the sorted array.
10
+ - [X ] ** Task 2:** Implement the ** selection sort** algorithm to sort an array of numbers in ascending order. Log the sorted array.
11
+ - [X ] ** Task 3:** Implement the ** quicksort** algorithm to sort an array of numbers in ascending order. Log the sorted array.
12
12
13
13
### Activity 2: Searching Algorithms
14
14
15
- - [] ** Task 4:** Implement the ** linear search** algorithm to find a target value in an array. Log the index of the target value.
16
- - [] ** Task 5:** Implement the ** binary search** algorithm to find a target value in a sorted array. Log the index of the target value.
15
+ - [X ] ** Task 4:** Implement the ** linear search** algorithm to find a target value in an array. Log the index of the target value.
16
+ - [X ] ** Task 5:** Implement the ** binary search** algorithm to find a target value in a sorted array. Log the index of the target value.
17
17
18
18
### Activity 3: String Algorithms
19
19
20
- - [] ** Task 6:** Write a function to ** count the occurrences** of each character in a string. Log the character counts.
21
- - [] ** Task 7:** Write a function to find the ** longest substring without repeating characters** in a string. Log the length of the substring.
20
+ - [X ] ** Task 6:** Write a function to ** count the occurrences** of each character in a string. Log the character counts.
21
+ - [X ] ** Task 7:** Write a function to find the ** longest substring without repeating characters** in a string. Log the length of the substring.
22
22
23
23
### Activity 4: Array Algorithms
24
24
25
- - [] ** Task 8:** Write a function to ** rotate an array** by k positions. Log the rotated array.
26
- - [] ** Task 9:** Write a function to ** merge two sorted arrays** into one sorted array. Log the merged array.
25
+ - [X ] ** Task 8:** Write a function to ** rotate an array** by k positions. Log the rotated array.
26
+ - [X ] ** Task 9:** Write a function to ** merge two sorted arrays** into one sorted array. Log the merged array.
27
27
28
28
### Activity 5: Dynamic Programming (Optional)
29
29
30
- - [] ** Task 10:** Write a function to solve the ** Fibonacci sequence** using dynamic programming. Log the Fibonacci numbers.
31
- - [] ** Task 11:** Write a function to solve the ** knapsack problem** using dynamic programming. Log the maximum value that can be obtained.
30
+ - [X ] ** Task 10:** Write a function to solve the ** Fibonacci sequence** using dynamic programming. Log the Fibonacci numbers.
31
+ - [X ] ** Task 11:** Write a function to solve the ** knapsack problem** using dynamic programming. Log the maximum value that can be obtained.
32
32
33
33
## Feature Request 🎯
34
34
0 commit comments