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

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

bj
登录
  • 友情链接
站内
algorithm

algorithm

go

Two-sum Leetcode explanation, Hashmap, Javascript

英文: Two-sum Leetcode explanation, Hashmap, Javascript 问题 我只翻译代码部分: var twoSum = function(nums, targe...
huangapple 2020年1月6日146评论algorithm javascript
go

在图片中检测线条和曲线的笔画检测算法

英文: Stroke detection algorithm in pictures to detect lines and curves 问题 我正在寻找一种能够检测图片中的所有线条,包括曲线等的算...
huangapple 2020年1月6日142评论algorithm image
go

不要将重复的值添加到Python中的二叉树(非二叉搜索树)。

英文: Not to add duplicate values to Binary tree in python (not BST) 问题 我正在尝试从值数组创建二叉树。如果发现重复值,我不希望将重复...
huangapple 2020年1月4日154评论algorithm python
go

层次遍历树,不使用额外内存。

英文: level order tree traversal without using additional memory 问题 我了解层次遍历树的算法。 (我认为每个人都知道这个)该算法使用队列来...
huangapple 2020年1月4日182评论algorithm data-structures
go

finding LCP of two strings in constant time and linear space

英文: finding LCP of two strings in constant time and linear space 问题 这是问题: <br> 假设S是一组字符串,我们知道S...
huangapple 2020年1月4日128评论algorithm data-structures
go

“Quicksort for Just 2 Elements” 可以翻译为 “仅用于两个元素的快速排序”。

英文: Quicksort for Just 2 Elements 问题 在《算法图解》中,作者为快速排序的基本情况提供了以下代码: def quicksort(array): if len(arra...
huangapple 2020年1月3日138评论algorithm python
go

如何使用循环对数据进行排序?

英文: How to sort data by using loops? 问题 我想编写一个函数,可以按升序或降序重新排列一个向量。我知道可以使用sort和order函数来实现,但我想手动完成。 英文...
huangapple 2020年1月3日172评论algorithm r
go

In a tree with arbitrary number of children, find whether a node is in the left half subtrees or right half subtrees of a given node

英文: In a tree with arbitrary number of children, find whether a node is in the left half subtrees or...
huangapple 2020年1月3日140评论javascript node.js
go

打印最长回文子串 (LPS)

英文: Printing the Longest Palindromic Substring (LPS) 问题 我正在学习动态规划,我可以轻松解决最长回文子串的长度,但很难实际打印出最长的回文子串。我...
huangapple 2020年1月3日134评论algorithm dynamic-programming
go

0-1背包问题中的负数情况

英文: 0-1 knapSnack problem with negetive numbers 问题 以下是您要翻译的部分: "Given an array of positive and ...
huangapple 2020年1月3日160评论algorithm python
70

文章导航

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

热门标签

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

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

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

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

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

    本页二维码