码迷,mamicode.com
首页 >  
搜索关键字:example    ( 17798个结果)
【leetcode】1304. Find N Unique Integers Sum up to Zero
题目如下: Given an integer n, return any array containing n unique integers such that they add up to 0. Example 1: Example 2: Example 3: Constraints: 1 <= ...
分类:其他好文   时间:2020-01-04 23:57:24    阅读次数:150
7.Android-压力测试、单元测试、日志猫使用
1.压力测试monkey 通过cmd输入下面命令: 表示测试com.example.phonecall应用程序,随机发送点击/滑动/切换事件10000次,( -v -v -v)表示信息日志为最高级,然后打印的信息传到F:\monkey_log\test1.txt里. 如下图所示: 2.单元测试 2. ...
分类:移动开发   时间:2020-01-04 22:09:52    阅读次数:89
[LC] 404. Sum of Left Leaves
Find the sum of all left leaves in a given binary tree. Example: 3 / \ 9 20 / \ 15 7 There are two left leaves in the binary tree, with values 9 and 1 ...
分类:其他好文   时间:2020-01-04 14:37:15    阅读次数:81
Leetcode solution 226. Invert Binary Tree
Problem Statement Invert a binary tree. Example: Input: 4 / \ 2 7 / \ / \ 1 3 6 9 Output: 4 / \ 7 2 / \ / \ 9 6 3 1 Trivia: This problem was inspired ...
分类:其他好文   时间:2020-01-04 10:29:05    阅读次数:86
leetcode 215. Kth Largest Element in an Array
Find the kth largest element in an unsorted array. Note that it is the kth largest element in the sorted order, not the kth distinct element. Example ...
分类:其他好文   时间:2020-01-03 21:27:13    阅读次数:104
规则引擎 图形界面
规则引擎 图形界面 - 国内版 Binghttps://cn.bing.com/search?q=%E8%A7%84%E5%88%99%E5%BC%95%E6%93%8E%20%E5%9B%BE%E5%BD%A2%E7%95%8C%E9%9D%A2&qs=n&form=QBRE&sp=-1&pq=% ...
分类:其他好文   时间:2020-01-03 19:21:07    阅读次数:347
Java读取txt文件和写入txt文件
直接上代码 package com.example.demo1; import java.io.*; public class ReadandWrite { public static void main(String args[]) { readFile(); writeFile(); } /** ...
分类:编程语言   时间:2020-01-03 14:15:31    阅读次数:83
Reactor系列(十九)StepVerifier测试
#java#reactor#flux#StepVerifier# 测试 视频讲解: https://www.bilibili.com/video/av81866573/ FluxMonoTestCase.java package com.example.reactor; import lombok. ...
分类:其他好文   时间:2020-01-03 13:59:58    阅读次数:81
[LC] 345. Reverse Vowels of a String
Write a function that takes a string as input and reverse only the vowels of a string. Example 1: Input: "hello" Output: "holle" Example 2: Input: "le ...
分类:其他好文   时间:2020-01-03 12:30:56    阅读次数:74
JAVA基础——多线程
一、什么是线程 进程:操作系统中每个独立执行的程序都可称为一个进程。 线程:一个程序中能够同时运行的执行单元。 例:如果将QQ看作一个进程,则其中同时打开的聊天窗口则可看为一个个线程。 注:多线程程序运行时,每个线程之间是独立的,可以并发执行。但并不是同时执行,CPU同一时刻只能执行一个线程。 二、 ...
分类:编程语言   时间:2020-01-03 12:21:12    阅读次数:84
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!