+ display:grid 指定一个容器采用网格布局 ,采用网格布局的区域,称为"容器"(container)。容器内部采用网格定位的子元素,称为"项目"(item)。 一、容器属性 默认情况下 容器元素都是块级元素,但也可以设置成行内元素 display:inline-block Note:设置 ...
分类:
Web程序 时间:
2019-08-10 19:46:47
阅读次数:
128
Given a string S, remove the vowels 'a', 'e', 'i', 'o', and 'u' from it, and return the new string. Example 1: Example 2: Note: ...
分类:
其他好文 时间:
2019-08-10 14:34:17
阅读次数:
108
按需模式 对于按需模式表,您无需指定预期应用程序执行的读取和写入吞吐量。DynamoDB 会按照读取请求单位和写入请求单位对应用程序在表上执行的读取和写入操作收费。 一个读取请求单位表示对大小最多为 4 KB 的项目执行一次强一致性读取请求,或执行两次最终一致性读取请求。事务读取请求需要 2 个读取 ...
分类:
数据库 时间:
2019-08-10 14:23:19
阅读次数:
180
Given a fixed length array arr of integers, duplicate each occurrence of zero, shifting the remaining elements to the right. Note that elements beyond ...
分类:
其他好文 时间:
2019-08-10 10:08:31
阅读次数:
95
Implement a trie with insert, search, and startsWith methods. Example: Note: You may assume that all inputs are consist of lowercase letters a-z. All ...
分类:
其他好文 时间:
2019-08-10 09:32:47
阅读次数:
67
description: Given a linked list, rotate the list to the right by k places, where k is non negative. Note: Example: answer: relative point get√: hint ...
分类:
其他好文 时间:
2019-08-09 23:30:32
阅读次数:
109
CS231n 2 K Nearest Neighbors note by Orangestar 1. codes: 2. 缺点:训练的时间复杂度是O(1),而预测的时间复杂度是O(N) 当然,这个算法还可以选择选取K个最近的点,然后加权投票 http://vision.stanford.edu/te ...
分类:
其他好文 时间:
2019-08-09 21:28:38
阅读次数:
75
//一级指针字符串 没有改变成功 char str1[20] ="notepad"; char str2[20] ="calc"; void change(char *str){ //函数有副本机制,会新建一个变量str来存储main函数中p传过来str1的首地址 printf("str in ch... ...
分类:
其他好文 时间:
2019-08-09 19:41:35
阅读次数:
127
BlockingQueue BlockingQueue、解决了多线程中,如何高效安全“传输”数据的问题。程序员无需关心什么时候阻塞线程,什么时候唤醒线程,该唤醒哪个线程。 方法介绍 BlockingQueue是Queue的子类 void put(E e) 插入指定元素,当BlockingQueue为 ...
分类:
编程语言 时间:
2019-08-08 18:53:58
阅读次数:
93
Given a singly linked list, group all odd nodes together followed by the even nodes. Please note here we are talking about the node number and not the ...
分类:
其他好文 时间:
2019-08-08 13:01:43
阅读次数:
91