AS3 Bingo ticket generator?

I'm trying to make a Bingo ticket (Housie) generator, but I've got some problems. Normally, each row contains five ...

How to sort a list of lists by a specific index of the inner list??

I have a list of lists. For example, [ [0,1,'f'], [4,2,'t'], [9,4,'afsd'] ] If I wanted to sort the outer list b...

checking if a string is in alphabetical order in python?

I've put together the following code to check if a string/word is alphabetically ordered: def isInAlphabeticalOrder...

Using quicksort on a string array?

I'm a programming student and rather than post the whole assignment I'll just ask for help solving what I've tried f...

Optimal algorithm for returning top k values from an array of length N?

I have an array of n floats, and I wish to return the top k (in my case n ~ 100, k ~ 10) Is there a known optimal ...

Sort ObservableCollection<string> through C#?

I have below ObservableCollection&lt;string&gt;. I need to sort this alphabetically. private ObservableCollection&l...

How to sort a HashSet??

For lists, we use the Collections.sort(List) method. What if we want to sort a HashSet? ...

Sorting a text file alphabetically (Python)?

I would like to sort the file 'shopping.txt' in alphabetical order shopping = open('shopping.txt') line=shopping.re...

How can I calculate deciles with a range of 12,000 cells in excel??

I have a column of 12,000+ numbers, both positive and negative, sorted from highest to lowest in an Excel spreadshee...

Efficiently sorting a numpy array in descending order??

I am surprised this specific question hasn't been asked before, but I really didn't find it on SO nor on the documen...

How to sort a list of lists by a specific index of the inner list??

I have a list of lists. For example, [ [0,1,'f'], [4,2,'t'], [9,4,'afsd'] ] If I wanted to sort the outer list b...

Insertion sort vs Bubble Sort Algorithms?

I'm trying to understand a few sorting algorithms, but I'm struggling to see the difference in the bubble sort and i...

Why does radix sort have a space complexity of O(k + n)??

Consider an array with n numbers that has maximum k digits (See Edit). Consider the radix sort program from here: d...

What is the difference between bucket sort and radix sort??

Bucket sort and radix sort are close cousins; bucket sort goes from MSD to LSD, while radix sort can go in both "dir...

Why Selection sort can be stable or unstable?

I know that selection sort can be implemented as stable or unstable. But I wonder how it can be. I think sort algori...