开发者交流平台
开发者交流平台

通过集体智慧和协作来改善编程学习和解决问题的方式。致力于成为全球开发者共同参与的知识库,让每个人都能够通过互相帮助和分享经验来进步。

bj
登录
  • 友情链接
站内
big-o

big-o

go

Big O表示法用于`.forEach`和`.find`。

英文: Big O notation for .forEach with .find 问题 这段代码的时间复杂度是O(N),而不是O(N^3)。尽管它包含了一个.forEach循环以及两个.find(...
huangapple 2023年3月31日136评论javascript typescript
go

大Ω(log n)可以成为二分搜索的平均时间复杂度吗?

英文: Can big omega of log n be the average time complexity of a binary search? 问题 我知道二分查找的平均时间复杂度是 O(...
huangapple 2023年3月21日105评论algorithm time-complexity
go

大Ω(log n)可以成为二分搜索的平均时间复杂度吗?

英文: Can big omega of log n be the average time complexity of a binary search? 问题 我知道二分查找的平均时间复杂度是 O(...
huangapple 2023年3月21日111评论algorithm time-complexity
go

Big O符号用来表示除了最坏情况性能的渐近上限之外的其他内容吗?

英文: Is big O notation used to denote something other than the asymptote of a worst case performance?...
huangapple 2023年3月20日150评论big-o time-complexity
go

这个算法能在C++中以O(N)的时间复杂度实现吗?

英文: Can this algorithm be implemented in O(N) time in C++? 问题 我正在尝试在C++中实现一个函数,该函数接受一个整数数组并按以下方式返回相同...
huangapple 2023年3月7日131评论algorithm c++
go

外循环线性,内循环对数,复杂度分析

英文: Outer loop linear, inner loop logarithmic, complexity analysis 问题 以下是代码的时间复杂度,O(logn) 或 O(nlogn)...
huangapple 2023年3月7日111评论big-o time-complexity
go

isPrime(n) 如果迭代到 sqrt(n) 的运行复杂度是什么?

英文: What is the runtime complexity of isPrime(n) if you iterate up to sqrt(n) 问题 以下是已翻译的部分: What wou...
huangapple 2023年2月16日107评论algorithm time-complexity
go

递归乘法的时间复杂度

英文: Time complexity of recursion of multiplication 问题 这个函数的最坏情况时间复杂度(大O表示法)为O(2^n)。 你的观点: 这个函数在任何情况下...
huangapple 2023年2月14日129评论python recursion
go

heapq.merge的时间复杂度为何高于heapq.heapify的时间复杂度?

英文: Why is the time complexity of heapq.merge higher than that of heapq.heapify? 问题 使用heapq.merge合并包...
huangapple 2023年2月9日94评论big-o mergesort
go

Big O符号 O(n^2) 是什么意思?

英文: Big O Notation O(n^2) what does it mean? 问题 例如,它说在1秒内使用选择排序可以排序3000个数字。我们如何预测在10秒内将排序多少个数字? 我查了一...
huangapple 2023年2月8日132评论big-o data-structures
5

文章导航

1 2 3 4 5
name
开发者交流平台
通过集体智慧和协作来改善编程学习和解决问题的方式。致力于成为全球开发者共同参与的知识库,让每个人都能够通过互相帮助和分享经验来进步。
文章117266 留言 4 访客17101457

热门标签

spring spring-boot html pandas javascript java android node.js typescript css r arrays go reactjs python c++ json sql c# flutter

悟已往之不谏,知来者之可追!

今日
00%
已00小时
本周
00%
已过00天
本月
00%
已过00天
今年
00%
已是00月

Copyright ©  开发者交流平台 版权所有.

闽 ICP 备 2022019110 号 - 1
  • 开发者交流平台

    本页二维码