sorting
Here are 1,616 public repositories matching this topic...
-
Updated
Jan 28, 2022 - JavaScript
-
Updated
Jan 31, 2022 - TypeScript
-
Updated
Jan 24, 2022 - Go
-
Updated
Nov 19, 2021 - JavaScript
-
Updated
Jul 18, 2021 - C#
-
Updated
Nov 8, 2021 - Julia
-
Updated
Jan 17, 2022 - Python
-
Updated
Feb 23, 2020 - JavaScript
-
Updated
Dec 11, 2021 - JavaScript
-
Updated
Jan 31, 2022 - Python
Description
A function to pad a string with zeros or another symbol to a given width could be helpful in many cases, especially together with the to_string()
function for integer to string conversion.
Currently available methods to achieve this are using concatenation
width = 32
str = "hello"
padded_str = repeat('0',width-len(str)')//str
and perhaps also internal file I/O
-
Updated
May 27, 2020 - Java
-
Updated
Jan 30, 2022 - PHP
-
Updated
Jan 26, 2022 - TypeScript
-
Updated
Jan 26, 2022 - C#
-
Updated
Jun 24, 2021 - JavaScript
Date sanity checking
It seems that a few platforms add nasty fake EXIF dates to their images, which means they're renamed and sorted to basically random folders.
Could it be implemented that phockup
passes/skips images that have dates before the invention of digital cameras or more than a few months in the future?
-
Updated
Jul 28, 2020 - Python
-
Updated
Jun 8, 2021 - JavaScript
-
Updated
Jan 22, 2022 - C++
-
Updated
May 7, 2021 - HTML
-
Updated
Dec 19, 2019 - Python
-
Updated
Jan 29, 2022 - C#
Improve this page
Add a description, image, and links to the sorting topic page so that developers can more easily learn about it.
Add this topic to your repo
To associate your repository with the sorting topic, visit your repo's landing page and select "manage topics."
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.