java.util.concurrent包下的新类。 实现接口:BlockingQueue LinkedBlockingQueue就是其中之一,是一个阻塞的线程安全的队列,底层采用链表实现。 LinkedBlockingQueue构造的时候若没有指定大小,则默认大小为Integer.MAX_VALU ...
分类:
数据库 时间:
2021-04-09 13:20:04
阅读次数:
0
test_or.py from sqlalchemy import Table, Column, Integer,String,DATE, ForeignKey from sqlalchemy.orm import relationship from sqlalchemy.ext.declarati ...
分类:
编程语言 时间:
2021-04-09 12:56:13
阅读次数:
0
Given an integer array nums sorted in non-decreasing order, return an array of the squares of each number sorted in non-decreasing order. Example 1: I ...
分类:
其他好文 时间:
2021-04-08 13:55:44
阅读次数:
0
方式一(将整数转换为字符串,在转换为字符数组): public boolean isPalindrome(int x) { if (x < 0) { return false; } char[] chars = new String(Integer.toString(x)).toCharArray( ...
分类:
其他好文 时间:
2021-04-08 13:10:24
阅读次数:
0
前言 Flutter 作为目前通用的业界跨平台解决方案,开辟了一套全新的设计理念,通过自研的 UI 框架,支持高效构建多端平台上的应用,同时保持着原生应用一样的高性能。 在Flutter项目开发过程中,对插件的开发和复用能够提高开发效率,降低工程的耦合度。Flutter开发者可以引入对应插件就可以为 ...
分类:
其他好文 时间:
2021-04-07 11:23:13
阅读次数:
0
分为两种 : 一、 数值类型 类型 1.TINYINT 整数 2.SMALLINT 整数 3.MEDIUMINT 整数 4.INT 或INTEGER 整数 5.BIGINT 整数 6.LOAT 小数 7.DOUBLE 双精度,浮点 8.FLOAT 小数 9.DECIMAL 小数 二、字符串 CHAR ...
分类:
数据库 时间:
2021-04-07 11:12:20
阅读次数:
0
题解 直接遍历一遍数组,如果遇到重复的数字直接返回就可以了,如果不存在返回-1,只需要在遍历的过程中使用一个集合存储我们遇到过的数字,方便后续判定 代码如下 class Solution { public int findRepeatNumber(int[] nums) { Set<Integer> ...
分类:
编程语言 时间:
2021-04-07 11:02:18
阅读次数:
0
问题: 合并两个有序链表 链表L1: 1->2->4->9 链表L2: 3->5>6->10->13 合并后:1->2->3->4->5->6->9->10->13 1. 准备数据结构 及测试数据 Node节点 public class Node { public Integer value; pu ...
分类:
其他好文 时间:
2021-04-06 14:50:49
阅读次数:
0
问题 给定两个字符串形式的非负整数 num1 和num2 ,计算它们的和。 提示: num1 和num2 的长度都小于 5100 num1 和num2 都只包含数字 0-9 num1 和num2 都不包含任何前导零 你不能使用任何內建 BigInteger 库, 也不能直接将输入的字符串转换为整数形 ...
分类:
其他好文 时间:
2021-04-06 14:29:11
阅读次数:
0
█ 0.代码函数: ○ 0.1 边界 Integer.MAX_VALUE int[] preorder ==> preorder == null || preorder.length == 0 char[][] board ==> board == null int[][] matrix ==> ( ...
分类:
其他好文 时间:
2021-04-06 14:10:55
阅读次数:
0