Click here to Skip to main content
15,498,622 members
Home / Discussions / Algorithms
   

Algorithms

 
AnswerRe: Looking for "card playing" algorithm Pin
Peter_in_27804-Jan-21 12:15
professionalPeter_in_27804-Jan-21 12:15 
GeneralRe: Looking for "card playing" algorithm Pin
jsc426-Jan-21 5:33
professionaljsc426-Jan-21 5:33 
GeneralRe: Looking for "card playing" algorithm Pin
Peter_in_27806-Jan-21 13:46
professionalPeter_in_27806-Jan-21 13:46 
AnswerRe: Looking for "card playing" algorithm Pin
Gerry Schmitz5-Jan-21 4:27
mveGerry Schmitz5-Jan-21 4:27 
Questionformulate an algorithm Pin
Member 1502086714-Dec-20 7:59
MemberMember 1502086714-Dec-20 7:59 
AnswerRe: formulate an algorithm Pin
Greg Utas14-Dec-20 8:31
mveGreg Utas14-Dec-20 8:31 
AnswerRe: formulate an algorithm Pin
Gerry Schmitz14-Dec-20 12:37
mveGerry Schmitz14-Dec-20 12:37 
AnswerRe: formulate an algorithm Pin
Patrice T14-Dec-20 13:38
mvePatrice T14-Dec-20 13:38 
As programmer, creating algorithms is your job, start as soon as possible. This skill comes with experience, the more you practice, easier it gets.
Member 15020867 wrote:
Problem: I have no idea how to begin

Just like for any new problem, take a sample input and solve by hand with a sheet of paper and a pencil.
Start again with other samples, until you device a method to solve the problem.
Then try to improve the algorithm.

- Learn one or more analyze methods, E.W. Djikstra/N. Wirth Stepwize Refinement/top-Down method is a good start.
Structured Programming.pdf[^]
https://en.wikipedia.org/wiki/Top-down_and_bottom-up_design[^]
https://en.wikipedia.org/wiki/Structured_programming[^]
https://en.wikipedia.org/wiki/Edsger_W._Dijkstra[^]
https://www.cs.utexas.edu/users/EWD/ewd03xx/EWD316.PDF[^]
Program Development by Stepwise Refinement[^]
Patrice

“Everything should be made as simple as possible, but no simpler.” Albert Einstein

AnswerRe: formulate an algorithm Pin
Member 1525570320-Jun-21 21:01
MemberMember 1525570320-Jun-21 21:01 
QuestionProblem in c language Pin
Member 150165689-Dec-20 4:16
MemberMember 150165689-Dec-20 4:16 
AnswerRe: Problem in c language Pin
Richard Deeming9-Dec-20 4:43
mveRichard Deeming9-Dec-20 4:43 
AnswerRe: Problem in c language Pin
CHill609-Dec-20 4:44
mveCHill609-Dec-20 4:44 
AnswerRe: Problem in c language Pin
Serhii Oleksenko15-May-21 2:38
professionalSerhii Oleksenko15-May-21 2:38 
QuestionStamp circular trade Pin
Shir Gans29-Nov-20 7:25
MemberShir Gans29-Nov-20 7:25 
AnswerRe: Stamp circular trade Pin
Gerry Schmitz29-Nov-20 19:40
mveGerry Schmitz29-Nov-20 19:40 
AnswerRe: Stamp circular trade Pin
Mircea Neacsu6-Dec-20 6:45
mvaMircea Neacsu6-Dec-20 6:45 
GeneralRe: Stamp circular trade Pin
Shir Gans6-Dec-20 8:51
MemberShir Gans6-Dec-20 8:51 
QuestionGiven an array x, get the array y from a data set of arrays which has the smallest distance to x Pin
Member 1499380315-Nov-20 18:17
MemberMember 1499380315-Nov-20 18:17 
QuestionCLOSED Pin
AlgoHelp14-Nov-20 0:31
MemberAlgoHelp14-Nov-20 0:31 
AnswerRe: How to determine if 2 labelled graphs are identical? Pin
Greg Utas14-Nov-20 2:48
mveGreg Utas14-Nov-20 2:48 
GeneralRe: How to determine if 2 labelled graphs are identical? Pin
Greg Utas14-Nov-20 4:04
mveGreg Utas14-Nov-20 4:04 
GeneralCLOSED Pin
AlgoHelp14-Nov-20 4:49
MemberAlgoHelp14-Nov-20 4:49 
GeneralRe: How to determine if 2 labelled graphs are identical? Pin
Greg Utas14-Nov-20 5:03
mveGreg Utas14-Nov-20 5:03 
GeneralCLOSED Pin
AlgoHelp14-Nov-20 5:24
MemberAlgoHelp14-Nov-20 5:24 
GeneralRe: How to determine if 2 labelled graphs are identical? Pin
Greg Utas14-Nov-20 6:41
mveGreg Utas14-Nov-20 6:41 

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.