Skip to content

Commit 7df1a4c

Browse files
committed
imp qs
1 parent 5d10660 commit 7df1a4c

File tree

6 files changed

+10
-5
lines changed

6 files changed

+10
-5
lines changed

.vscode/settings.json

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
{
2+
"files.associations": {
3+
"math.h": "c"
4+
}
5+
}

Introduction to CP /Week - 00/08 - selection_sort.c renamed to Introduction to CP /Week - 00/7.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ int main()
1515

1616
for(int i = 0; i < n; i++)
1717
{
18-
min=i;
18+
min= A[0];
1919
for(int j = i + 1; j < n; j++)
2020
{
2121
if(A[min]>A[j])

Introduction to CP /Week - 00/misc.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,9 @@
33
1. Floyd's Triangle
44
2. Factorial
55
3. Power of Numbers within a given range
6-
4.
7-
5.
8-
6.
9-
7.
6+
4. Series Q1
7+
5. Series Q2
8+
6. Binary Search
9+
7. Selection Sort
1010
8. Decimal to Binary
1111
9. Binary to Decimal

0 commit comments

Comments
 (0)