-
Updated
Apr 26, 2020
Data structures
A data structure is a particular way storing and organizing data in a computer for efficient access and modification. Data structures are designed for a specific purpose. Examples include arrays, linked lists, and classes.
Here are 8,073 public repositories matching this topic...
-
Updated
Apr 15, 2020 - JavaScript
-
Updated
May 2, 2020
-
Updated
Apr 29, 2020 - Swift
-
Updated
Apr 19, 2020 - C++
Describe the bug
Hyperlink is created for cell value, even when text is specified as the datatype.
To Reproduce
Steps to reproduce the behavior:
- Edit a cell's value
- Choose datatype: Text
- Paste the following text exactly (includes whitespace):
https://www.wikidata.org/wiki/Property:P670 https://www.wikidata.org/wiki/Property:P669 are now mapped to https://schema.org/s
-
Updated
Feb 27, 2020 - Java
-
Updated
Apr 22, 2020 - Python
-
Updated
Apr 4, 2020 - JavaScript
-
Updated
May 2, 2020
-
Updated
Apr 30, 2020 - C++
-
Updated
Apr 13, 2020 - Python
-
Updated
Mar 26, 2020 - C++
-
Updated
Feb 8, 2020
steps to reproduce
Write a loop, from 1 to 80000, each time add a random int to the max heap.
In theory it takes very little time(NlogN, N=80000, <1sec ), but the program does take a long time.
I'v also tested the BinaryHeap in https://github.com/SolutionsDesign/Algorithmia, it performs well, so it is probably due to the bad algorithm.
-
Updated
Apr 28, 2020 - Swift
-
Updated
Oct 23, 2019
-
Updated
Oct 26, 2019 - JavaScript
Hi, I'm not sure if more platforms are interesting to you, but I've made a slightly more complete implementation of padding a struct to the cache line size here:
https://github.com/tinco/cache_line_size
I got the information on the cache line sizes from the Go compiler repository, so I'm pretty sure these are correct for all platforms Go runs on, which is a whole bunch.
-
Updated
Mar 25, 2020
-
Updated
Aug 18, 2018 - JavaScript
-
Updated
May 2, 2020 - Java
-
Updated
May 2, 2020 - JavaScript
-
Updated
Apr 16, 2020 - TypeScript
-
Updated
Apr 15, 2020 - Rust
-
Updated
Nov 1, 2019 - C
-
Updated
Oct 6, 2018 - Go
集合 S 包含从1到 n 的整数。不幸的是,因为数据错误,导致集合里面某一个元素复制了成了集合里面的另外一个元素的值,导致集合丢失了一个整数并且有一个元素重复。
给定一个数组 nums 代表了集合 S 发生错误后的结果。你的任务是首先寻找到重复出现的整数,再找到丢失的整数,将它们以数组的形式返回。
示例 1:
输入: nums = [1,2,2,4]
输出: [2,3]
注意:
给定数组的长度范围是 [2, 10000]。
给定的数组是无序的。
来源:力扣(LeetCode)
链接:https://leetcode-cn.com/problems/set-mismatch