mirror of
https://github.com/krahets/hello-algo.git
synced 2025-11-02 21:24:53 +08:00
Polish the content
This commit is contained in:
@ -8,7 +8,7 @@
|
||||
|
||||
/* 函数 */
|
||||
int func() {
|
||||
// do something
|
||||
// 执行某些操作
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
||||
@ -8,7 +8,7 @@
|
||||
|
||||
/* 函数 */
|
||||
int func() {
|
||||
// do something
|
||||
// 执行某些操作
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
||||
@ -9,7 +9,7 @@ namespace hello_algo.chapter_computational_complexity;
|
||||
public class space_complexity {
|
||||
/* 函数 */
|
||||
static int function() {
|
||||
// do something
|
||||
// 执行某些操作
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
||||
@ -11,7 +11,7 @@ import '../utils/tree_node.dart';
|
||||
|
||||
/* 函数 */
|
||||
int function() {
|
||||
// do something
|
||||
// 执行某些操作
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
||||
@ -44,7 +44,7 @@ func printTree(root *treeNode) {
|
||||
|
||||
/* 函数 */
|
||||
func function() int {
|
||||
// do something...
|
||||
// 执行某些操作...
|
||||
return 0
|
||||
}
|
||||
|
||||
|
||||
@ -12,7 +12,7 @@ import java.util.*;
|
||||
public class space_complexity {
|
||||
/* 函数 */
|
||||
static int function() {
|
||||
// do something
|
||||
// 执行某些操作
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
||||
@ -10,7 +10,7 @@ const { printTree } = require('../modules/PrintUtil');
|
||||
|
||||
/* 函数 */
|
||||
function constFunc() {
|
||||
// do something
|
||||
// 执行某些操作
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
||||
@ -12,7 +12,7 @@ from modules import *
|
||||
|
||||
def function() -> int:
|
||||
"""函数"""
|
||||
# do something
|
||||
# 执行某些操作
|
||||
return 0
|
||||
|
||||
|
||||
|
||||
@ -14,7 +14,7 @@ use tree_node::TreeNode;
|
||||
|
||||
/* 函数 */
|
||||
fn function() ->i32 {
|
||||
// do something
|
||||
// 执行某些操作
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
||||
@ -9,7 +9,7 @@ import utils
|
||||
/* 函数 */
|
||||
@discardableResult
|
||||
func function() -> Int {
|
||||
// do something
|
||||
// 执行某些操作
|
||||
return 0
|
||||
}
|
||||
|
||||
|
||||
@ -10,7 +10,7 @@ import { printTree } from '../modules/PrintUtil';
|
||||
|
||||
/* 函数 */
|
||||
function constFunc(): number {
|
||||
// do something
|
||||
// 执行某些操作
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
||||
@ -7,7 +7,7 @@ const inc = @import("include");
|
||||
|
||||
// 函数
|
||||
fn function() i32 {
|
||||
// do something
|
||||
// 执行某些操作
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user