package
Version:
v0.0.0-...-a52c104
Opens a new window with list of versions in this module.
Published: Aug 8, 2021
License: Apache-2.0
Opens a new window with license information.
Imports: 1
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
func LeftRightBound(nums []int) int
LeftRightBound 找左子树的右边界
func PrintLine(m [][]int, a, b, c, d int, upper bool)
func PrintMatrixZigZag(matrix [][]int)
PrintMatrixZigZag 旋转打印矩形
func Rotate(s [][]int) [][]int
Rotate 给一个正方形 N*N 矩阵, 求旋转之后的, 原地调整; no idea;
T1: 顺时针旋转90度正方形, 原地调整
func RotateEdge(s [][]int, a, b, c, d int) [][]int
RecoverSearchTree 搜索二叉树 给 后序遍历的数组 重归成搜索树 返回头节点 左-右-根
字节面试题;
Source Files
¶
Click to show internal directories.
Click to hide internal directories.