摘要: 此题是可以理解为查找、添加类题目,是典型的hash做法,可以使用uthash来实现,代码如下: typedef struct { int key; int val; UT_hash_handle hh; } my_hash; my_hash *g_user; int* twoSum(int* num 阅读全文
posted @ 2022-01-26 11:45 cn风 阅读(29) 评论(0) 推荐(0)