-
Updated
Jun 2, 2022 - TypeScript
sorting
Here are 1,793 public repositories matching this topic...
-
Updated
Jun 2, 2022 - JavaScript
-
Updated
May 21, 2022 - Go
-
Updated
Jun 2, 2022 - TypeScript
-
Updated
Feb 18, 2022 - JavaScript
-
Updated
Jul 18, 2021 - C#
-
Updated
Feb 25, 2022 - Julia
-
Updated
Jun 3, 2022 - Python
-
Updated
Feb 23, 2020 - JavaScript
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
Jan 31, 2022 - Python
-
Updated
Mar 26, 2022 - JavaScript
-
Updated
May 27, 2020 - Java
-
Updated
May 20, 2022 - PHP
-
Updated
Apr 8, 2022 - TypeScript
-
Updated
Jan 26, 2022 - C#
-
Updated
Jun 2, 2022 - Python
-
Updated
Mar 27, 2022 - JavaScript
I set up two Docker containers for moving files - one for my wife and one for me. To each, I pass a folder path that represents my wife's name or my name.
It works flawlessly except for the fact that I have an "m" in my name and can not use "m" in the folder name as it would be replaced by the month (moritz would be changed to Maroritz, Augoritz etc.). It would be nice to have escape sequences
-
Updated
Jul 28, 2020 - Python
-
Updated
Feb 27, 2022 - JavaScript
-
Updated
Jan 22, 2022 - C++
-
Updated
Jun 1, 2022 - Dart
-
Updated
May 25, 2022 - HTML
-
Updated
Dec 19, 2019 - Python
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.