码迷,mamicode.com
首页 >  
搜索关键字:two points    ( 13225个结果
4. 寻找两个有序数组的中位数
链接:https://leetcode cn.com/problems/median of two sorted arrays 给定两个大小为 m 和 n 的有序数组?nums1 和?nums2。 请你找出这两个有序数组的中位数,并且要求算法的时间复杂度为?O(log(m + n))。 你可以假设? ...
分类:编程语言   时间:2019-12-31 18:47:37    阅读次数:83
1009 Product of Polynomials (25分) 多项式乘法
1009 Product of Polynomials (25分) This time, you are supposed to find A×B where A and B are two polynomials. Input Specification: Each input file cont ...
分类:其他好文   时间:2019-12-31 10:31:50    阅读次数:150
LeetCode——004-Median-of-Two-Sorted-Arrays
Description 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 c ...
分类:其他好文   时间:2019-12-31 01:21:16    阅读次数:63
2.两数相加
题目: 给出两个?非空 的链表用来表示两个非负的整数。其中,它们各自的位数是按照?逆序?的方式存储的,并且它们的每个节点只能存储?一位?数字。 如果,我们将这两个数相加起来,则会返回一个新的链表来表示它们的和。 链接:https://leetcode cn.com/problems/add two ...
分类:其他好文   时间:2019-12-30 23:15:28    阅读次数:85
SpringBoot 动态配置数据源-进阶-可视化动态配置数据源-2
接 SpringBoot 动态配置数据源-进阶-可视化动态配置数据源-1 配置文件修改后,需要使配置生效 采用springcloud 配置 jar : spring-cloud-starter-config + spring-boot-starter-actuator <dependency> <g ...
分类:编程语言   时间:2019-12-30 11:35:54    阅读次数:124
leetcode 2.Add Two Numbers
You are given two non-empty linked lists representing two non-negative integers. The digits are stored in reverse order and each of their nodes contai ...
分类:其他好文   时间:2019-12-30 09:58:18    阅读次数:102
leetcode 4.Median of Two Sorted Arrays
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 complexity sh ...
分类:其他好文   时间:2019-12-30 09:42:02    阅读次数:50
leetcode 1. Two Sum
Given an array of integers, return indices of the two numbers such that they add up to a specific target. You may assume that each input would have ex ...
分类:其他好文   时间:2019-12-30 09:37:47    阅读次数:60
LeetCode_496. Next Greater Element I
496. Next Greater Element I Easy Easy Easy You are given two arrays (without duplicates) nums1 and nums2 where nums1’s elements are subset of nums2. F ...
分类:其他好文   时间:2019-12-30 09:36:29    阅读次数:60
leetcode.1266访问所有点的最小时间
平面上有 n 个点,点的位置用整数坐标表示 points[i] = [xi, yi]。请你计算访问所有这些点需要的最小时间(以秒为单位)。 你可以按照下面的规则在平面上移动: 每一秒沿水平或者竖直方向移动一个单位长度,或者跨过对角线(可以看作在一秒内向水平和竖直方向各移动一个单位长度)。必须按照数组 ...
分类:其他好文   时间:2019-12-30 09:18:47    阅读次数:56
13225条   上一页 1 ... 76 77 78 79 80 ... 1323 下一页
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!