Problem I feel like the title is a bit wordy. What I have defined here is a function that takes […]
Category: Sorting
Shorten a custom JS sort function
Problem I have a sort function that needed to sort in a certain way. That position was sorted by mobile-top […]
Radix Sort Speed
Problem I have implemented a radix sort algorithm in Python 3. It first finds the maximum number of digits in […]
Radix sort with integer divisions
Problem Here’s a perhaps naive but simple implementation of Radix sort in Java. It works with any radix, and both […]
Printing all the permutations of a string in alphabetical order
Problem It is a code eval challenge question https://www.codeeval.com/open_challenges/14/. My answer was accepted, and I modified my code again to […]
My approach to sorting algorithm
Problem For practicing purposes, I had the idea of making a sorting algorithm in Python. My approach to it was […]
Making a faster parallel quicksort
Problem I’m trying to take my existing parallel Quicksort and make it execute faster. Below is what I have but […]
Sorting three Decimal values
Problem I have been given three values: @lLength, @lWidth, @lHeight. I need to take these DECIMAL(4,2) values and set the […]
Permutation of list in Python so that list[x] != list[x+1]
Problem Basically I need to order a list, so that an element is not the same as the element that […]
Quicksort application
Problem What do you think about this code? #include <iostream> using std::cout; using std::endl; #include <vector> using std::vector; #include <ctime> […]