mirror of
https://github.com/krahets/hello-algo.git
synced 2026-07-17 03:21:27 +08:00
Rename the common modules in Java, C++ and C.
This commit is contained in:
@@ -4,7 +4,7 @@
|
||||
* Author: MolDuM (moldum@163.com)
|
||||
*/
|
||||
|
||||
#include "../include/include.h"
|
||||
#include "../utils/common.h"
|
||||
|
||||
/* 随机返回一个数组元素 */
|
||||
int randomAccess(int *nums, int size) {
|
||||
|
||||
@@ -4,7 +4,7 @@
|
||||
* Author: Zero (glj0@outlook.com)
|
||||
*/
|
||||
|
||||
#include "../include/include.h"
|
||||
#include "../utils/common.h"
|
||||
|
||||
/* 在链表的节点 n0 之后插入节点 P */
|
||||
void insert(ListNode *n0, ListNode *P) {
|
||||
|
||||
@@ -4,7 +4,7 @@
|
||||
* Author: Zero (glj0@outlook.com)
|
||||
*/
|
||||
|
||||
#include "../include/include.h"
|
||||
#include "../utils/common.h"
|
||||
|
||||
/* 列表类简易实现 */
|
||||
struct myList {
|
||||
|
||||
Reference in New Issue
Block a user