Skip to content

Commit 6144dae

Browse files
committed
🎉
1 parent ab319f0 commit 6144dae

File tree

6 files changed

+10
-8
lines changed

6 files changed

+10
-8
lines changed

Extra-C/prob03/prob3-2.c

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,9 @@
44
description: extra, problem 3, maximum path
55
version: 3.2, using functions library and
66
while the time complexity is still in O(n²), the
7-
space complexity is now in O(n) instead of O(n²)
7+
space complexity is now in O(n) instead of O(n²),
8+
by using only two rows of size n instead of a
9+
2D array of size n²
810
*/
911

1012
#include <stdio.h>

Extra-C/prob05/prob5-2.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
/* file: prob5-2.c
22
author: David De Potter
33
description: extra, problem 5, next smaller number
4-
version: 5.2, using the functions library
4+
version: 5.2, using the clib library
55
*/
66

77
#include <stdio.h>

Extra-C/prob06/prob6-2.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
file: prob6-2.c
33
author: David De Potter
44
description: extra, problem 6, balanced brackets
5-
version: 6.2, using the functions library
5+
version: 6.2, using the clib library
66
*/
77

88
#include <stdio.h>

Extra-C/prob07/prob7-2.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
file: prob7-2.c
33
author: David De Potter
44
description: extra, problem 7, matching bitstrings
5-
version: 7.2, using the functions library
5+
version: 7.2, using the clib library
66
*/
77

88
#include <stdio.h>

Extra-C/prob08/prob8-2.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
file: prob8-2.c
33
author: David De Potter
44
description: extra, problem 8, segments
5-
version: 8.2, using the functions library and qsort
5+
version: 8.2, using the clib library and qsort
66
*/
77

88
#include <stdio.h>

Functions/clib/clib.h

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,8 @@
33
description: header file for the clib library
44
*/
55

6-
#ifndef FUNCTIONS_H_INCLUDED
7-
#define FUNCTIONS_H_INCLUDED
6+
#ifndef CLIB_H_INCLUDED
7+
#define CLIB_H_INCLUDED
88

99
//::::::::::::::::::::::::: MACROS :::::::::::::::::::::::::::::://
1010

@@ -245,4 +245,4 @@ void quickSort(int *array, int size);
245245
// assumes the range between min and max value is not too large
246246
void countingSort(int *array, int size);
247247

248-
#endif // FUNCTIONS_H_INCLUDED
248+
#endif // CLIB_H_INCLUDED

0 commit comments

Comments
 (0)