mirror of
https://github.com/krahets/hello-algo.git
synced 2026-11-04 12:12:45 +08:00
Retranslate the complete Japanese online edition from Chinese (#2008)
* Retranslate the complete Japanese online edition from Chinese * Fit Japanese homepage labels and localize heading permalinks * Point Japanese contribution instructions to the Japanese preview * Replace locale conditionals with multilingual UI tables
This commit is contained in:
@@ -11,7 +11,7 @@
|
||||
|
||||
using namespace std;
|
||||
|
||||
/* 連結リストノード */
|
||||
/* 連結リストのノード */
|
||||
struct ListNode {
|
||||
int val;
|
||||
ListNode *next;
|
||||
@@ -19,7 +19,7 @@ struct ListNode {
|
||||
}
|
||||
};
|
||||
|
||||
/* リストを連結リストにデシリアライズする */
|
||||
/* リストをデシリアライズして連結リストにする */
|
||||
ListNode *vecToLinkedList(vector<int> list) {
|
||||
ListNode *dum = new ListNode(0);
|
||||
ListNode *head = dum;
|
||||
@@ -30,7 +30,7 @@ ListNode *vecToLinkedList(vector<int> list) {
|
||||
return dum->next;
|
||||
}
|
||||
|
||||
/* 連結リストに割り当てたメモリを解放する */
|
||||
/* 連結リストに確保したメモリ領域を解放する */
|
||||
void freeMemoryLinkedList(ListNode *cur) {
|
||||
// メモリを解放する
|
||||
ListNode *pre;
|
||||
|
||||
Reference in New Issue
Block a user