码迷,mamicode.com
首页 >  
搜索关键字:tuple list dict    ( 59992个结果
算法图解——组合求和( Combination Sum)
组合求和( Combination Sum) 1. 题目描述 Given an array of distinct integers candidates and a target integer target, return a list of all unique combinations of ...
分类:编程语言   时间:2021-02-18 13:37:18    阅读次数:0
windows 访问 CentOS 的防火墙及其 网关开放
1.防火墙开放端口 firewall-cmd --zone=public --add-port=8848/tcp --permanent firewall-cmd --list-ports 开放centOS 网关,远程连接 grant all privileges on *.* to 'root'@ ...
分类:Windows程序   时间:2021-02-18 13:28:47    阅读次数:0
Java8使用Stream流实现List列表的查询、统计、排序、分组
https://blog.csdn.net/pan_junbiao/article/details/105913518 Java8提供了Stream(流)处理集合的关键抽象概念,它可以对集合进行的操作,可以执行非常复杂的查找、过滤和映射数据等操作。Stream API 借助于同样新出现的Lambda ...
分类:编程语言   时间:2021-02-18 13:24:59    阅读次数:0
Java8 使用 stream().filter()过滤List对象(查找符合条件的对象集合)
内容简介 本文主要说明在Java8及以上版本中,使用stream().filter()来过滤一个List对象,查找符合条件的对象集合。 List对象类(StudentInfo) public class StudentInfo implements Comparable<StudentInfo> { ...
分类:编程语言   时间:2021-02-18 13:24:06    阅读次数:0
Redis数据库的基本介绍和安装
Redis的基本介绍 1.Redis是NoSQL数据库,不是传统的关系型数据库 官网:https://redis.io/和http://www.redis.cn/ 2.Redis:REmote Dictionary Server(远程字典服务器),Redis的性能非常高,单机能够达到15w qps, ...
分类:数据库   时间:2021-02-18 13:18:56    阅读次数:0
leetcode 82 删除排序列表中重复元素
没啥太难的思路,代码如下: /** * Definition for singly-linked list. * struct ListNode { * int val; * ListNode *next; * ListNode() : val(0), next(nullptr) {} * List ...
分类:编程语言   时间:2021-02-18 12:53:10    阅读次数:0
1028 List Sorting (25 分)
大水题。。。 const int N=1e5+10; struct Node { string id; string name; int grade; }a[N]; int n,m; bool cmp1(Node &a,Node &b) { return a.id < b.id; } bool cm ...
分类:其他好文   时间:2021-02-17 15:07:19    阅读次数:0
1047 Student List for Course ——PAT甲级真题
1047 Student List for Course Zhejiang University has 40,000 students and provides 2,500 courses. Now given the registered course list of each student, ...
分类:其他好文   时间:2021-02-17 14:09:06    阅读次数:0
mybatis 一对多查询
第一步 搭建运行环境 参考 mybatis 多对一查询的两种实现方式 第二步 编写代码 1、创建实体类Teacher和Student,一个老师给多个学生上课,一对多关系 Student package com.xiahui.pojo; import lombok.AllArgsConstructor ...
分类:其他好文   时间:2021-02-16 12:40:40    阅读次数:0
Django批量导入数据库-bulk_create()
Django批量导入数据库-bulk_create() if request.method == 'POST': text_list=request.POST.getlist('text') pwd_list = request.POST.getlist('pwd') datas = [] for ...
分类:数据库   时间:2021-02-16 12:34:27    阅读次数:0
59992条   上一页 1 ... 63 64 65 66 67 ... 6000 下一页
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!