Rename the common modules in Java, C++ and C.

This commit is contained in:
krahets
2023-04-24 04:11:18 +08:00
parent c6eecfd0dc
commit 145975b335
120 changed files with 122 additions and 380 deletions

View File

@ -4,7 +4,7 @@
* Author: Krahets (krahets@163.com)
*/
#include "../include/include.hpp"
#include "../utils/common.hpp"
/* 随机返回一个数组元素 */
int randomAccess(int *nums, int size) {

View File

@ -4,7 +4,7 @@
* Author: Krahets (krahets@163.com)
*/
#include "../include/include.hpp"
#include "../utils/common.hpp"
/* 在链表的节点 n0 之后插入节点 P */
void insert(ListNode *n0, ListNode *P) {

View File

@ -4,7 +4,7 @@
* Author: Krahets (krahets@163.com)
*/
#include "../include/include.hpp"
#include "../utils/common.hpp"
/* Driver Code */
int main() {

View File

@ -4,7 +4,7 @@
* Author: Krahets (krahets@163.com)
*/
#include "../include/include.hpp"
#include "../utils/common.hpp"
/* 列表类简易实现 */
class MyList {