编程客栈
C语言之函数返回值与参数传递案例教程
C语言函数返回值与参数传递 一:参数传递 C语言的函数中必不可少的就是参数传递,可以采用传值和传指针两种方式。[详细]
2021-07-26 14:27 分类:编程语言-
-
C/C++中指针的深入理解
目录计算机的内存模型指针与指针常量指针变量和指针常量指针变量和数组函数http://www.cppcns.com指针C++中的引用传值还是传引用C++中的new关键词总结计算机的内存模型[详细]
2021-07-26 14:21 分类:编程语言 C++实现LeetCode(103.二叉树的之字形层序遍历)
[LeetCode] 103. Binary Tree Zigzag Level Order Traversal 二叉树的之字形层序遍历 Given a binary tree, return the zigzag level order traversal of its nodes\' values. (ie, from left to right, t[详细]
2021-07-26 14:10 分类:编程语言C++实现LeetCode(100.判断相同树)
[LeetCode] 100. Same Tree 判断相同树 Given two binary trees, write a function to check if they are the same or not.[详细]
2021-07-26 13:57 分类:编程语言C++实现LeetCode(145.二叉树的后序遍历)
[LeetCode] 145. Binary Tree Postorder Traversal 二叉树的后序遍历 Given a binary tree, return the postorder traversal of its nodes\' values.[详细]
2021-07-26 13:50 分类:编程语言C++实现LeetCode(97.交织相错的字符串)
[LeetCode] 97.Interleaving String 交织相错的字符串 Given s1, s2, s3, find whether s3 is formed by the interleaving of s1 and s2.[详细]
2021-07-26 13:38 分类:编程语言C++实现LeetCode(96.独一无二的二叉搜索树)
[LeetCode] 96. Unique Binary Search Trees 独一无二的二叉搜索树 Given n, how many structurally unique BST\'s (binary search trees) that store values 1 ... n?[详细]
2021-07-26 13:31 分类:编程语言C++实现LeetCode(95.独一无二的二叉搜索树之二)
[LeetCode] 95. Unique Binary Search Trees II 独一无二的二叉搜索树之二 Given an integer n, generate all structurally unique BST\'s (binary search trees) that store values http://www.cppc[详细]
2021-07-26 13:28 分类:编程语言-
C++基于灰度图上色GrayToColorFromOther的实现
目录场景需求功能函数代码C++测试代码场景需求 之前有提到给灰度图上色的需求,在此基础上,还有一种需求,就是基于另一张参考灰度图的色板来给当前的灰度图上色,比如参考灰度图的数值区[详细]
2021-07-26 13:25 分类:编程语言