Click here to Skip to main content
15,845,681 members
Home / Discussions / Algorithms
   

Algorithms

 
GeneralRe: Algorithms work Pin
Richard Deeming27-May-20 1:25
mveRichard Deeming27-May-20 1:25 
GeneralRe: Algorithms work Pin
Eddy Vluggen27-May-20 9:59
professionalEddy Vluggen27-May-20 9:59 
AnswerRe: Algorithms work Pin
ZurdoDev27-May-20 10:46
professionalZurdoDev27-May-20 10:46 
GeneralRe: Algorithms work Pin
kalberts27-May-20 11:13
kalberts27-May-20 11:13 
GeneralRe: Algorithms work Pin
Eddy Vluggen27-May-20 11:17
professionalEddy Vluggen27-May-20 11:17 
GeneralRe: Algorithms work Pin
Eddy Vluggen27-May-20 11:14
professionalEddy Vluggen27-May-20 11:14 
AnswerRe: Algorithms work Pin
Patrice T28-May-20 23:20
mvePatrice T28-May-20 23:20 
Questionalgorithm Pin
Member 1483481217-May-20 0:57
Member 1483481217-May-20 0:57 
Your task is to develop an algorithm that would sort data such as these from least to greatest. Specifically, given an unsorted set of N decimal values, your algorithm should sort them to give an answer of the sorted data. For this set of N = 6, your algorithm should produce:

-0.12
0.53
0.98
1.36
1.92
3.18

Execute your algorithm for a different set of data, such as a subset of the given data, data you make up, or another month's climate data, such as February 2017: https://www.ncdc.noaa.gov/sotc/global-regions/201702

Does your algorithm work for any N? Have you thought of corner cases it might need to handle, such as N = 0 or N = 1?
Reply·Email·View Thread

AnswerRe: algorithm Pin
Victor Nijegorodov17-May-20 1:02
Victor Nijegorodov17-May-20 1:02 
AnswerRe: algorithm Pin
Richard MacCutchan17-May-20 2:23
mveRichard MacCutchan17-May-20 2:23 
AnswerRe: algorithm Pin
Patrice T20-May-20 16:08
mvePatrice T20-May-20 16:08 
QuestionSerial port takes a long time to respond Pin
Member 1480999628-Apr-20 4:17
Member 1480999628-Apr-20 4:17 
SuggestionRe: Serial port takes a long time to respond Pin
Greg Utas28-Apr-20 5:52
professionalGreg Utas28-Apr-20 5:52 
AnswerRe: Serial port takes a long time to respond Pin
Gerry Schmitz28-Apr-20 8:06
mveGerry Schmitz28-Apr-20 8:06 
QuestionAlgorithm Pin
Babayomi26-Apr-20 5:48
Babayomi26-Apr-20 5:48 
AnswerRe: Algorithm Pin
Greg Utas26-Apr-20 6:03
professionalGreg Utas26-Apr-20 6:03 
GeneralRe: Algorithm Pin
Babayomi26-Apr-20 13:09
Babayomi26-Apr-20 13:09 
QuestionAlgorithm to divide an array efficiently... to sub groups where each group is smaller than X Pin
fcbman24-Apr-20 5:02
fcbman24-Apr-20 5:02 
AnswerRe: Algorithm to divide an array efficiently... to sub groups where each group is smaller than X Pin
Gerry Schmitz25-Apr-20 12:59
mveGerry Schmitz25-Apr-20 12:59 
QuestionHow to get faster serial port data transfer on windows forms Pin
Member 1480999622-Apr-20 4:15
Member 1480999622-Apr-20 4:15 
AnswerRe: How to get faster serial port data transfer on windows forms Pin
k505422-Apr-20 5:26
mvek505422-Apr-20 5:26 
GeneralRe: How to get faster serial port data transfer on windows forms Pin
Member 1480999623-Apr-20 1:58
Member 1480999623-Apr-20 1:58 
AnswerRe: How to get faster serial port data transfer on windows forms Pin
Gerry Schmitz22-Apr-20 10:05
mveGerry Schmitz22-Apr-20 10:05 
GeneralRe: How to get faster serial port data transfer on windows forms Pin
Member 1480999622-Apr-20 23:32
Member 1480999622-Apr-20 23:32 
QuestionHow to generate a network where nodes have certain number of neighbors on average Pin
Meanwhale7-Apr-20 21:15
Meanwhale7-Apr-20 21:15 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.