mirror of
https://github.com/krahets/hello-algo.git
synced 2026-11-28 23:34:43 +08: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