Skip to content
This repository has been archived by the owner on Jun 4, 2024. It is now read-only.
/ c_solutions Public archive

Efficient solutions for typical programming problems in C with tests.

License

Notifications You must be signed in to change notification settings

ybda/c_solutions

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

28 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

c_solutions

Efficient solutions for typical programming problems in C with tests.

Print example (1 means that test case passed):

[fibonacciNumber_memoization & fibonacciNumber_iterativeSolution & fibonacciNumber_recursion] 111 111 111 111 111 111 11 
[math_power] 111111
[math_atoi] 111111
[hexDec_toDec & hexDec_toHex] 11111111111111
[math_factorialRecursion & math_factorialNoRecursion] 11111111111111111111111111111111
[romanNumParser_parse] 11111111111111111
[math_reverseWithOverflowHandling] 11111111111111111111111111
--[Quicksort]--
Original array: [10, 7, 8, 9, 1, 5]
Sorted array: [1, 5, 7, 8, 9, 10]
--[BinarySearch]--
Original array: [10, 7, 8, 9, 1, 5]
8 found at index 2.

About

Efficient solutions for typical programming problems in C with tests.

Topics

Resources

License

Stars

Watchers

Forks