mirror of
https://github.com/krahets/hello-algo.git
synced 2024-12-28 06:36:30 +08:00
f616dac7da
* Fix is_empty() implementation in the stack and queue chapter * Update en/CONTRIBUTING.md * Remove "剩余" from the state definition of knapsack problem * Sync zh and zh-hant versions * Update the stylesheets of code tabs * Fix quick_sort.rb * Fix TS code * Update chapter_paperbook * Upload the manuscript of 0.1 section * Fix binary_tree_dfs.rb * Bug fixes * Update README * Update README * Update README * Update README.md * Update README * Sync zh and zh-hant versions * Bug fixes
36 lines
529 B
C
36 lines
529 B
C
/**
|
|
* File: common.h
|
|
* Created Time: 2022-12-20
|
|
* Author: MolDuM (moldum@163.com)、Reanon (793584285@qq.com)
|
|
*/
|
|
|
|
#ifndef COMMON_H
|
|
#define COMMON_H
|
|
|
|
#include <assert.h>
|
|
#include <stdbool.h>
|
|
#include <stdio.h>
|
|
#include <stdlib.h>
|
|
#include <string.h>
|
|
#include <time.h>
|
|
#include <math.h>
|
|
|
|
#include "list_node.h"
|
|
#include "print_util.h"
|
|
#include "tree_node.h"
|
|
#include "vertex.h"
|
|
|
|
// hash table lib
|
|
#include "uthash.h"
|
|
|
|
#include "vector.h"
|
|
|
|
#ifdef __cplusplus
|
|
extern "C" {
|
|
#endif
|
|
|
|
#ifdef __cplusplus
|
|
}
|
|
#endif
|
|
|
|
#endif // COMMON_H
|