mirror of
https://github.com/krahets/hello-algo.git
synced 2025-11-03 21:58:48 +08:00
* docs: add Japanese documents (`ja/docs`) * docs: add Japanese documents (`ja/codes`) * docs: add Japanese documents * Remove pythontutor blocks in ja/ * Add an empty at the end of each markdown file. * Add the missing figures (use the English version temporarily). * Add index.md for Japanese version. * Add index.html for Japanese version. * Add missing index.assets * Fix backtracking_algorithm.md for Japanese version. * Add avatar_eltociear.jpg. Fix image links on the Japanese landing page. * Add the Japanese banner. --------- Co-authored-by: krahets <krahets@163.com>
19 lines
570 B
Python
19 lines
570 B
Python
# PEP 585に従う - 標準コレクションでの型ヒント
|
|
# https://peps.python.org/pep-0585/
|
|
from __future__ import annotations
|
|
|
|
# 共通ライブラリをここでインポートして、`from module import *`でコードを簡潔にする
|
|
from .list_node import (
|
|
ListNode,
|
|
list_to_linked_list,
|
|
linked_list_to_list,
|
|
)
|
|
from .tree_node import TreeNode, list_to_tree, tree_to_list
|
|
from .vertex import Vertex, vals_to_vets, vets_to_vals
|
|
from .print_util import (
|
|
print_matrix,
|
|
print_linked_list,
|
|
print_tree,
|
|
print_dict,
|
|
print_heap,
|
|
) |