mirror of
https://github.com/krahets/hello-algo.git
synced 2026-07-08 21:46:06 +00:00
Fine tune the C codes.
This commit is contained in:
@@ -13,8 +13,8 @@ struct binarySearchTree {
|
||||
|
||||
typedef struct binarySearchTree binarySearchTree;
|
||||
|
||||
/* 比较器:从小到大排序 */
|
||||
int sortIntHelper(const void *a, const void *b) {
|
||||
// 从小到大排序
|
||||
return (*(int *)a - *(int *)b);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user