C
교육적 목적으로 C언어로 구현된 수학, 머신러닝, 컴퓨터 과학, 물리학 등의 다양한 알고리즘 모음입니다.
파일 탐색기
최종 버전 다운로드 (.zip)- bug_report.yml
- config.yml
- feature_request.yml
- other.yml
- approved-label.yml
- awesome_workflow.yml
- codeql.yml
- directory_writer.yml
- gh-pages.yml
- labeler.yml
- leetcode_directory_writer.yml
- stale.yml
- CODEOWNERS
- labeler.yml
- pull_request_template.md
- settings.json
- alaw.c
- CMakeLists.txt
- affine.c
- CMakeLists.txt
- rot13.c
- bool.h
- client.c
- CMakeLists.txt
- fork.h
- remote_command_exec_udp_client.c
- remote_command_exec_udp_server.c
- server.c
- tcp_full_duplex_client.c
- tcp_full_duplex_server.c
- tcp_half_duplex_client.c
- tcp_half_duplex_server.c
- udp_client.c
- udp_server.c
- binary_to_decimal.c
- binary_to_hexadecimal.c
- binary_to_octal.c
- c_atoi_str_to_integer.c
- celsius_to_fahrenheit.c
- CMakeLists.txt
- decimal_to_any_base.c
- decimal_to_binary.c
- decimal_to_binary_recursion.c
- decimal_to_hexa.c
- decimal_to_octal.c
- decimal_to_octal_recursion.c
- hexadecimal_to_octal.c
- hexadecimal_to_octal2.c
- infix_to_postfix.c
- infix_to_postfix2.c
- int_to_string.c
- octal_to_binary.c
- octal_to_decimal.c
- octal_to_hexadecimal.c
- roman_numerals_to_decimal.c
- to_decimal.c
- carray.c
- carray.h
- carray_tests.c
- README.md
- avl_tree.c
- binary_search_tree.c
- create_node.c
- recursive_traversals.c
- red_black_tree.c
- segment_tree.c
- threaded_binary_trees.c
- words_alphabetical.c
- dict.c
- dict.h
- README.md
- test_program.c
- dynamic_array.c
- dynamic_array.h
- main.c
- Makefile
- bellman_ford.c
- bfs.c
- bfs_queue.c
- dfs.c
- dfs_recursive.c
- dijkstra.c
- euler.c
- floyd_warshall.c
- graph.c
- graph.h
- hamiltonian.c
- kruskal.c
- Makefile
- queue.c
- queue.h
- strongly_connected_components.c
- topological_sort.c
- transitive_closure.c
- hash_set.c
- hash_set.h
- main.c
- Makefile
- max_heap.c
- min_heap.c
- ascending_priority_queue.c
- circular_doubly_linked_list.c
- circular_linked_list.c
- doubly_linked_list.c
- merge_linked_lists.c
- middle_element_in_list.c
- queue_linked_list.c
- singly_link_list_deletion.c
- stack_using_linked_lists.c
- list.c
- list.h
- main.c
- Makefile
- include.h
- queue.c
- main.c
- Makefile
- stack.c
- stack.h
- dynamic_stack.c
- main.c
- parenthesis.c
- README.md
- stack.c
- stack.h
- dictionary.txt
- trie.c
- stack.c
- vector.c
- CMakeLists.txt
- malloc_dbg.c
- malloc_dbg.h
- min_printf.h
- test_malloc_dbg.c
- test_min_printf.c
- CMakeLists.txt
- lcs.c
- matrix_chain_order.c
- acronym.c
- acronym.h
- hello_world.c
- hello_world.h
- isogram.c
- isogram.h
- rna_transcription.c
- rna_transcription.h
- word_count.c
- word_count.h
- README.md
- CMakeLists.txt
- hangman.c
- naval_battle.c
- tic_tac_toe.c
- words.txt
- CMakeLists.txt
- geometry_datatypes.h
- quaternions.c
- vectors_3d.c
- CMakeLists.txt
- spirograph.c
- dijkstra.c
- prim.c
- CMakeLists.txt
- hash_adler32.c
- hash_blake2b.c
- hash_crc32.c
- hash_djb2.c
- hash_sdbm.c
- hash_xor8.c
- README.md
- 1.c
- 10.c
- 1008.c
- 1009.c
- 101.c
- 1019.c
- 1026.c
- 104.c
- 108.c
- 1089.c
- 109.c
- 11.c
- 110.c
- 112.c
- 1137.c
- 1147.c
- 118.c
- 1184.c
- 1189.c
- 119.c
- 12.c
- 1207.c
- 121.c
- 124.c
- 125.c
- 1283.c
- 13.c
- 136.c
- 14.c
- 141.c
- 142.c
- 1524.c
- 153.c
- 16.c
- 160.c
- 1653.c
- 1657.c
- 169.c
- 1695.c
- 17.c
- 1704.c
- 173.c
- 1752.c
- 1769.c
- 1833.c
- 1838.c
- 189.c
- 19.c
- 190.c
- 191.c
- 2.c
- 20.c
- 201.c
- 2024.c
- 203.c
- 206.c
- 2095.c
- 21.c
- 2125.c
- 2130.c
- 215.c
- 217.c
- 2222.c
- 223.c
- 2256.c
- 226.c
- 2270.c
- 2279.c
- 230.c
- 2304.c
- 231.c
- 234.c
- 236.c
- 24.c
- 242.c
- 2482.c
- 2501.c
- 26.c
- 268.c
- 27.c
- 274.c
- 278.c
- 28.c
- 283.c
- 287.c
- 29.c
- 3.c
- 32.c
- 344.c
- 35.c
- 367.c
- 37.c
- 38.c
- 387.c
- 389.c
- 4.c
- 404.c
- 42.c
- 434.c
- 442.c
- 45.c
- 461.c
- 476.c
- 485.c
- 5.c
- 50.c
- 509.c
- 520.c
- 53.c
- 540.c
- 561.c
- 567.c
- 6.c
- 617.c
- 62.c
- 63.c
- 647.c
- 66.c
- 669.c
- 674.c
- 684.c
- 69.c
- 7.c
- 700.c
- 701.c
- 704.c
- 709.c
- 75.c
- 771.c
- 79.c
- 8.c
- 807.c
- 82.c
- 83.c
- 841.c
- 852.c
- 876.c
- 9.c
- 901.c
- 905.c
- 917.c
- 931.c
- 938.c
- 94.c
- 953.c
- 965.c
- 977.c
- 979.c
- 98.c
- 985.c
- 997.c
- DIRECTORY.md
- README.md
- adaline_learning.c
- CMakeLists.txt
- k_means_clustering.c
- kohonen_som_topology.c
- kohonen_som_trace.c
- armstrong_number.c
- cantor_set.c
- cartesian_to_polar.c
- catalan.c
- CMakeLists.txt
- collatz.c
- euclidean_algorithm_extended.c
- factorial.c
- factorial_large_number.c
- factorial_trailing_zeroes.c
- fibonacci.c
- fibonacci_dp.c
- fibonacci_fast.c
- fibonacci_formula.c
- gcd.c
- is_armstrong.c
- large_factorials.c
- lcm.c
- lerp.c
- palindrome.c
- prime.c
- prime_factoriziation.c
- prime_sieve.c
- strong_number.c
- CMakeLists.txt
- demonetization.c
- hamming_distance.c
- lexicographic_permutations.c
- longest_subsequence.c
- mcnaughton_yamada_thompson.c
- mirror.c
- pid.c
- poly_add.c
- postfix_evaluation.c
- quartile.c
- rselect.c
- run_length_encoding.c
- shunting_yard.c
- sudoku_solver.c
- tower_of_hanoi.c
- union_find.c
- bisection_method.c
- CMakeLists.txt
- durand_kerner_roots.c
- gauss_elimination.c
- gauss_seidel_method.c
- lagrange_theorem.c
- lu_decompose.c
- mean.c
- median.c
- newton_raphson_root.c
- ode_forward_euler.c
- ode_midpoint_euler.c
- ode_semi_implicit_euler.c
- qr_decompose.h
- qr_decomposition.c
- qr_eigen_values.c
- realtime_stats.c
- secant_method.c
- simpsons_1_3rd_rule.c
- variance.c
- CMakeLists.txt
- non_preemptive_priority_scheduling.c
- sol1.c
- sol2.c
- sol3.c
- sol4.c
- sol1.c
- sol2.c
- sol1.c
- num.txt
- sol1.c
- sol1.c
- sol1.c
- sol1.c
- sol1.c
- so1.c
- sol1.c
- sol1.c
- names.txt
- sol1.c
- sol1.c
- sol2.c
- sol1
- sol1.c
- sol1.c
- sol1.c
- sol2.c
- sol.c
- sol1.c
- sol1.c
- sol2.c
- sol3.c
- sol.c
- sol.c
- sol2.c
- digits.txt
- sol1.c
- sol2.c
- sol1.c
- sol2.c
- CMakeLists.txt
- README.md
- file_linter.py
- leetcode_directory_md.py
- boyer_moore_search.c
- CMakeLists.txt
- naive_search.c
- rabin_karp_search.c
- binary_search.c
- CMakeLists.txt
- exponential_search.c
- fibonacci_search.c
- floyd_cycle_detection_algorithm.c
- interpolation_search.c
- jump_search.c
- linear_search.c
- modified_binary_search.c
- other_binary_search.c
- sentinel_linear_search.c
- ternary_search.c
- bead_sort.c
- binary_insertion_sort.c
- bogo_sort.c
- bubble_sort.c
- bubble_sort_2.c
- bubble_sort_recursion.c
- bucket_sort.c
- CMakeLists.txt
- cocktail_sort.c
- comb_sort.c
- counting_sort.c
- cycle_sort.c
- gnome_sort.c
- heap_sort.c
- heap_sort_2.c
- insertion_sort.c
- insertion_sort_recursive.c
- merge_sort.c
- merge_sort_nr.c
- multikey_quick_sort.c
- odd_even_sort.c
- pancake_sort.c
- partition_sort.c
- patience_sort.c
- pigeonhole_sort.c
- quick_sort.c
- radix_sort.c
- radix_sort_2.c
- random_quick_sort.c
- selection_sort.c
- selection_sort_recursive.c
- shaker_sort.c
- shell_sort.c
- shell_sort2.c
- stooge_sort.c
- .clang-format
- .clang-tidy
- .gitignore
- .gitpod.dockerfile
- .gitpod.yml
- CMakeLists.txt
- CODE_OF_CONDUCT.md
- CodingGuidelines.md
- CONTRIBUTING.md
- DIRECTORY.md
- Doxyfile
- LICENSE
- README.md
- REVIEWER_CODE.md
# 설치 가이드
1. 코드 내려받기
git clone https://github.com/TheAlgorithms/C
깃허브에서 프로젝트 코드 전체를 내 컴퓨터로 내려받습니다.
cd C
방금 내려받은 프로젝트 폴더 안으로 이동합니다.
2. CMake
보통 추천사전 준비물
mkdir build && cd build
빌드 결과물을 담을 폴더를 만들고 그 안으로 이동합니다.
cmake ..
소스코드를 분석해 빌드 설정 파일을 생성합니다 (build 폴더 안에서 실행해야 함).
make
생성된 빌드 설정을 바탕으로 실제 컴파일을 진행해 실행 파일을 만듭니다.
build 폴더 안에 실행 파일이 생성됐는지 확인하고, 직접 실행해보세요 (예: ./build/앱이름).
3. Make
보통사전 준비물
- Git GitHub에서 프로젝트 코드를 내려받으려면 필요합니다.
- Make Linux/macOS는 보통 기본 설치되어 있습니다. Windows는 별도 설치(예: MSYS2, WSL)가 필요합니다.
⚠️ 이 프로젝트는 규모가 큰 저장소라, 이 방법이 실제 핵심 제품이 아니라 내부 하위 패키지를 가리키는 것일 수 있습니다. README 전체를 함께 확인해보세요.
cd data_structures/dynamic_array
이 프로젝트의 관련 파일이 하위 폴더 안에 있어서, 먼저 그 폴더로 이동합니다.
make
생성된 빌드 설정을 바탕으로 실제 컴파일을 진행해 실행 파일을 만듭니다.
에러 없이 끝나면 성공입니다. 생성된 실행 파일을 직접 실행해보세요.
// repository documentation
Was this content helpful?
(0 ratings)
