码迷,mamicode.com
首页 >  
搜索关键字:the unique mst    ( 5979个结果
次小生成树
The Unique MST Time Limit: 1000MS Memory Limit: 10000K Total Submissions: 30194 Accepted: 10809 Description Given a connected undirected graph, tell i ...
分类:其他好文   时间:2020-06-24 21:33:23    阅读次数:67
聊聊MySQL的索引吧
楔子 索引的概念基本所有人都会遇到过,就算没有了解过数据库中的索引,在生活中也不可避免的接触到。比方说书籍的目录,字典的查询页,图书馆的科目检索等等。其实这些都是一种索引,并且所起到的作用大同小异。 而对于数据库而言,只不过是将索引的概念抽象出来,让建立索引的过程更为灵活而自由,从而可以在不同的场景 ...
分类:数据库   时间:2020-06-23 17:26:51    阅读次数:47
15.DRF-分页
Django rest framework(6) 分页 第一种分页 PageNumberPagination 基本使用 (1)urls.py urlpatterns = [ re_path('(?P<version>[v1|v2]+)/page1/', Pager1View.as_view(),) ...
分类:其他好文   时间:2020-06-22 21:15:27    阅读次数:56
【leetcode】1481. Least Number of Unique Integers after K Removals
题目如下: Given an array of integers arr and an integer k. Find the least number of unique integers after removing exactly k elements. Example 1: Input: a ...
分类:其他好文   时间:2020-06-22 15:12:41    阅读次数:60
[LeetCode] 950. Reveal Cards In Increasing Order 按递增顺序显示卡牌
In a deck of cards, every card has a unique integer. You can order the deck in any order you want. Initially, all the cards start face down (unreveale ...
分类:其他好文   时间:2020-06-22 13:13:01    阅读次数:57
[LeetCode] 60. Permutation Sequence
The set [1,2,3,...,n] contains a total of n! unique permutations. By listing and labeling all of the permutations in order, we get the following seque ...
分类:其他好文   时间:2020-06-21 10:13:55    阅读次数:48
mysql表的完整性约束
阅读目录 概览 not null unique primary key foreign key 概览 为了防止不符合规范的数据进入数据库,在用户对数据进行插入、修改、删除等操作时,DBMS自动按照一定的约束条件对数据进行监测,使不符合规范的数据不能进入数据库,以确保数据库中存储的数据正确、有效、相容 ...
分类:数据库   时间:2020-06-21 10:10:31    阅读次数:63
33、JDK1.8新特性(Lambda表达式、Stream流)
Lambda表达式 package org.westos.demo; import java.util.ArrayList; import java.util.Comparator; /** * @author lwj * @date 2020/6/20 9:00 */ public class M ...
分类:其他好文   时间:2020-06-20 18:32:55    阅读次数:46
MySQL数据库基础操作
3.3.1创建和查看数据表一、查看数据表 1.use onlinedb; 将数据库设为当前数据库 2.show tables; 查看数据库中的表 3.create table users( uID int(11) PRIMARY KEY AUTO_INCREMENT COMMENT '用户ID' u ...
分类:数据库   时间:2020-06-19 20:44:17    阅读次数:115
java 中 输出 日期
1 String.format("%tc",new Date()); 2 //结果 3 // Sun Nov 28 14:52:41 MST 2004 4 //总结: tc会输入全部的时间 5 6 7 8 String.format("%tr", new Date()); 9 //结果 10 //0 ...
分类:编程语言   时间:2020-06-19 00:43:52    阅读次数:52
5979条   上一页 1 ... 17 18 19 20 21 ... 598 下一页
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!