An undirected graph is a graph where the pairings representing the edges are _____________. Unordered无序 Two vertices in a graph are ___________ if the ...
分类:
其他好文 时间:
2020-01-07 00:54:31
阅读次数:
61
"https://leetcode cn.com/problems/add two numbers/" 代码如下: ...
分类:
其他好文 时间:
2020-01-07 00:48:56
阅读次数:
62
描述: There are two sorted arrays nums1 and nums2 of size m and n respectively. Find the median of the two sorted arrays. The overall run time complexit ...
分类:
其他好文 时间:
2020-01-06 21:17:10
阅读次数:
92
1、集中趋势分析(Central of tendency) 大部分观察值向某一数值集中的趋势称为集中趋势,常用平均数指标来表示,各观察值之间大小参差不齐 集中量数-算术平均数、中位数(Median )、众数( mode ) 2、离散程度分析( Tendency of dispersion) 频数由中 ...
分类:
其他好文 时间:
2020-01-06 17:49:40
阅读次数:
323
link to problem Description: Given two strings text1 and text2, return the length of their longest common subsequence. A subsequence of a string is a ...
分类:
其他好文 时间:
2020-01-06 09:54:55
阅读次数:
84
原题链接在这里:https://leetcode.com/problems/best-meeting-point/ 题目: A group of two or more people wants to meet and minimize the total travel distance. You ...
分类:
其他好文 时间:
2020-01-06 09:14:27
阅读次数:
87
链接:https://leetcode-cn.com/problems/add-two-numbers-ii 给定两个非空链表来代表两个非负整数。数字最高位位于链表开始位置。它们的每个节点只存储单个数字。将这两数相加会返回一个新的链表。 你可以假设除了数字 0 之外,这两个数字都不会以零开头。 进阶 ...
分类:
其他好文 时间:
2020-01-05 20:43:28
阅读次数:
79
C++ 查找容器中两个连续且相等的数 algostuff.hpp adjacent_find1.cpp vec1: 1 3 3 6 4 4 4 7 5 5 1first two elements with equal value have position 2first two elements w ...
分类:
编程语言 时间:
2020-01-05 18:24:33
阅读次数:
156
<script> obj={"111":"one","222":"two","333":"three"}; var i; for(i in obj) { console.log(i); console.log(obj[i]); } </script> 上面的代码运行后,在控制台显示: 111 one ...
分类:
编程语言 时间:
2020-01-05 12:04:48
阅读次数:
83
1. Managing Ordered Sequences with bisect The bisect module offers two main functions bisect and insort that use the binary serach algorithm to quickl ...
分类:
其他好文 时间:
2020-01-05 09:27:35
阅读次数:
78