mirror of
https://github.com/krahets/hello-algo.git
synced 2026-08-16 13:40:58 +00:00
Prepare 1.1.0 release (#1274)
* Update bucket_sort.c * Fix the comments in quick_sort.c * Update the announce badge * Sync zh and zh-hant versions * Update contributors list. * Sync zh and zh-hant versions. * Sync zh and zh-hant versions. * Update the contributors list * Update the version number
This commit is contained in:
@@ -7,7 +7,7 @@
|
||||
#include "../utils/common.h"
|
||||
|
||||
/* 雜湊表預設大小 */
|
||||
#define 100
|
||||
#define MAX_SIZE 100
|
||||
|
||||
/* 鍵值對 int->string */
|
||||
typedef struct {
|
||||
@@ -29,7 +29,7 @@ typedef struct {
|
||||
/* 建構子 */
|
||||
ArrayHashMap *newArrayHashMap() {
|
||||
ArrayHashMap *hmap = malloc(sizeof(ArrayHashMap));
|
||||
for (int i = 0; i < MAX_SIZE; i++) {
|
||||
for (int i=0; i < MAX_SIZE; i++) {
|
||||
hmap->buckets[i] = NULL;
|
||||
}
|
||||
return hmap;
|
||||
|
||||
Reference in New Issue
Block a user