CUBE SORT | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 1

CUBE SORT

I wanted to know can anyone explain me the cube sort algorithm, and how can I implement this using c#?And if anyone has the cube sort algorithm then can I get it?

29th Dec 2018, 9:55 AM
Hamdan Farooq
Hamdan Farooq - avatar
15 Answers
+ 1
There are variations of sort algorithms. The simplest of which is the 'shell sort' look into it so you'll understand more complex sort algorithm
31st Dec 2018, 10:08 AM
Da2
Da2 - avatar
+ 1
Understand the less complicated approach
31st Dec 2018, 7:41 PM
Da2
Da2 - avatar
+ 1
Shell sort. Are you familiar with control or data structures?
31st Dec 2018, 7:45 PM
Da2
Da2 - avatar
+ 1
I already know BubbleSort,insertion , selection,merge and quick sort
31st Dec 2018, 8:25 PM
Hamdan Farooq
Hamdan Farooq - avatar
+ 1
only cube sort is remain I want some help to understand it
31st Dec 2018, 8:26 PM
Hamdan Farooq
Hamdan Farooq - avatar
31st Dec 2018, 8:31 PM
Da2
Da2 - avatar
+ 1
You seem to need a deeper understanding of control & data structures. Have you tried to code a binary tree traverse?
31st Dec 2018, 11:49 PM
Da2
Da2 - avatar
0
I know but I want cube sort I want to complete my project
31st Dec 2018, 2:54 PM
Hamdan Farooq
Hamdan Farooq - avatar
0
Learning has no short cut 😨
31st Dec 2018, 4:48 PM
Da2
Da2 - avatar
0
I don't want short cut I want algorithm or someone who can explain cube sort to me
31st Dec 2018, 5:07 PM
Hamdan Farooq
Hamdan Farooq - avatar
0
so give me less complicated approach
31st Dec 2018, 7:43 PM
Hamdan Farooq
Hamdan Farooq - avatar
0
Shell sort is an iteration (constructs) of locating the lowest or highest value in an array (datastructs). Once located, it proceeds to the next lower or higher value. So it's an iteration (loop) within an iteration. Another variation is the 'Bubble' sort. If you understand shell sort, you'll have no difficulty with it.
31st Dec 2018, 8:22 PM
Da2
Da2 - avatar
0
thanks but I already visited their
31st Dec 2018, 8:57 PM
Hamdan Farooq
Hamdan Farooq - avatar
0
can you convert c language code into c# code?
31st Dec 2018, 8:57 PM
Hamdan Farooq
Hamdan Farooq - avatar
0
yes
1st Jan 2019, 6:14 PM
Hamdan Farooq
Hamdan Farooq - avatar