From 5474ffc1ae7391609e5cd6ed080f66d74096108f Mon Sep 17 00:00:00 2001 From: curtishd <131777542+curtishd@users.noreply.github.com> Date: Fri, 29 Mar 2024 15:41:01 +0800 Subject: [PATCH] Add kotlin code block for the chapter of data structure (#1190) * Add kotlin code block for array.md and backtracking_algorithm.md. * add kotlin code block for chapter_computational_complexity. * Update space_complexity.md * preview linked_list.md * Update linked_list.md * fill in the missing code blocks. * Add kotlin code block for chapter_data_structure. --- docs/chapter_data_structure/basic_data_types.md | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/docs/chapter_data_structure/basic_data_types.md b/docs/chapter_data_structure/basic_data_types.md index 81b3b3b92..c0ea6aec3 100644 --- a/docs/chapter_data_structure/basic_data_types.md +++ b/docs/chapter_data_structure/basic_data_types.md @@ -156,7 +156,11 @@ === "Kotlin" ```kotlin title="" - + // 使用多种基本数据类型来初始化数组 + val numbers = IntArray(5) + val decinals = FloatArray(5) + val characters = CharArray(5) + val bools = BooleanArray(5) ``` === "Zig"