码迷,mamicode.com
首页 >  
搜索关键字:grep 高亮显示 color    ( 191493个结果
简化版由前序遍历和中序遍历返回后序遍历
#include<iostream> #include<cstring> #include<string> #include<stdio.h> using namespace std; void print(int n,char *x,char *y) { if(n<=0) return; int ...
分类:其他好文   时间:2021-05-23 23:32:39    阅读次数:0
JavaScript垃圾回收机制
JavaScript垃圾回收机制 JavaScript使用垃圾自动回收机制进行内存管理,无需程序员手动分配和释放内存。垃圾回收的基本思路是确定哪些变量不会再次被使用,然后回收这些变量占用的内存。垃圾回收机制会影响应用程序的性能,因此它应该是周期性的,垃圾回收程序每隔一段时间会运行一次。常用的垃圾回收 ...
分类:编程语言   时间:2021-05-23 23:28:32    阅读次数:0
linux软件包管理
1.软件包分类 源码包 二进制包 2.源码包 优点 可修改 可自由选择需要的功能 软件是编译安装,更加适合系统,更加稳定和高效 卸载方便 缺点 # TODO ...
分类:系统相关   时间:2021-05-23 23:24:50    阅读次数:0
git流程和常用命令
git流程图: 图片来自网络: ...
分类:其他好文   时间:2021-05-23 23:15:07    阅读次数:0
每日LeetCode - 7. 整数反转(C语言和Python 3)
C语言 使用long类型: #include "math.h" int reverse(int x){ int max = pow(2,31)-1; int min = pow(2,31)*-1; long n=0; while (x!=0){ n = n*10 + x%10; x = x/10; ...
分类:编程语言   时间:2021-05-23 23:09:40    阅读次数:0
java中有趣的unicode转义序列
public class Test { public static void main(String[] args) { // \u000A String s = "Hello World"; String s = "1212"; System.out.println(s); } } 错误:java ...
分类:编程语言   时间:2021-05-23 23:09:26    阅读次数:0
1822. Sign of the Product of an Array
There is a function signFunc(x) that returns: 1 if x is positive. -1 if x is negative. 0 if x is equal to 0. You are given an integer array nums. Let  ...
分类:其他好文   时间:2021-05-23 23:06:06    阅读次数:0
Java8之Optional
/* Optional 容器类常用方法 Optional.of(T t) 创建一个Optional实例 Optional.empty() 创建一个空的Optional实例 Optional.ofNullable(T t) 若t不为null,则创建Optional实例,否则创建空实例 isPresen ...
分类:编程语言   时间:2021-05-04 16:30:31    阅读次数:0
jreg视频内容整理
5种变得开心的方法 浪费时间,比如打游戏,什么都不干 停止思考,什么都不要想,刷视频 独处,不要跟别人分享你的痛苦,把自己的痛苦当作世界上最没有意义的事情 网上冲浪 列出痛苦清单,倾吐问题 我(曾经)想死 说不出口 坏主意,雇主想要正能量的阳光男孩 视频中的演讲者是演员,在扮演角色,可能在说谎话 还 ...
分类:其他好文   时间:2021-05-04 16:28:05    阅读次数:0
Python----闭包和装饰器
# 闭包 def outer(x): print('outer:',x) def inner(): print('inner:', x) return inner # 外部函数return的一定是内部函数的函数名 def a(x): print('a:',x) def b(y): print('b: ...
分类:编程语言   时间:2021-05-04 16:12:49    阅读次数:0
191493条   上一页 1 ... 34 35 36 37 38 ... 19150 下一页
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!