Click here to Skip to main content
15,892,746 members
Home / Discussions / Algorithms
   

Algorithms

 
AnswerRe: Time complexity Pin
Gerry Schmitz27-Jun-18 9:55
mveGerry Schmitz27-Jun-18 9:55 
GeneralRe: Time complexity Pin
Manish16927-Jun-18 17:25
Manish16927-Jun-18 17:25 
GeneralRe: Time complexity Pin
Gerry Schmitz27-Jun-18 19:16
mveGerry Schmitz27-Jun-18 19:16 
GeneralRe: Time complexity Pin
Peter_in_278027-Jun-18 18:19
professionalPeter_in_278027-Jun-18 18:19 
QuestionWhich algorithm or a solution should I use here? Pin
Member 1387019212-Jun-18 13:06
Member 1387019212-Jun-18 13:06 
AnswerRe: Which algorithm or a solution should I use here? Pin
Gerry Schmitz14-Jun-18 7:36
mveGerry Schmitz14-Jun-18 7:36 
AnswerRe: Which algorithm or a solution should I use here? Pin
Eddy Vluggen14-Jun-18 8:02
professionalEddy Vluggen14-Jun-18 8:02 
AnswerRe: Which algorithm or a solution should I use here? Pin
Patrice T1-Sep-18 15:56
mvePatrice T1-Sep-18 15:56 
Member 13870192 wrote:
The most important thing is that the solution has to work as fast as it can with the lowest complexity
that possible.

This question comes from a challenge site, the challenge is that you find a solution, your solution.
Your solution always start with a sheet of paper and a pencil, then you solve the problem by hand.
As you solve the problem by hand, write down how you make decisions to get to solution.
Then try the example and another order of stations in increasing order, then in decreasing order, solve by hand, compare with your procedure, improve the procedure if not optimum.
that procedure will be your program.

If you are unable to solve the problem, you will need to study data structures and algorithms.
Patrice

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

Questionlooking for tutorial heuristic algorithms Pin
Member 1386820111-Jun-18 7:57
Member 1386820111-Jun-18 7:57 
AnswerRe: looking for tutorial heuristic algorithms Pin
Gerry Schmitz14-Jun-18 7:32
mveGerry Schmitz14-Jun-18 7:32 
SuggestionAn algorithm checking balance of html tags Pin
Member 138554082-Jun-18 0:51
Member 138554082-Jun-18 0:51 
GeneralRe: An algorithm checking balance of html tags Pin
Jochen Arndt4-Jun-18 3:08
professionalJochen Arndt4-Jun-18 3:08 
GeneralRe: An algorithm checking balance of html tags Pin
Gerry Schmitz5-Jun-18 8:02
mveGerry Schmitz5-Jun-18 8:02 
GeneralRe: An algorithm checking balance of html tags Pin
Richard Deeming6-Jun-18 1:15
mveRichard Deeming6-Jun-18 1:15 
GeneralRe: An algorithm checking balance of html tags Pin
Eddy Vluggen6-Jun-18 1:24
professionalEddy Vluggen6-Jun-18 1:24 
GeneralRe: An algorithm checking balance of html tags Pin
Richard Deeming6-Jun-18 1:26
mveRichard Deeming6-Jun-18 1:26 
GeneralRe: An algorithm checking balance of html tags Pin
Eddy Vluggen6-Jun-18 1:39
professionalEddy Vluggen6-Jun-18 1:39 
GeneralRe: An algorithm checking balance of html tags Pin
Gerry Schmitz6-Jun-18 5:42
mveGerry Schmitz6-Jun-18 5:42 
GeneralRe: An algorithm checking balance of html tags Pin
Richard Deeming6-Jun-18 5:53
mveRichard Deeming6-Jun-18 5:53 
GeneralRe: An algorithm checking balance of html tags Pin
Gerry Schmitz6-Jun-18 6:25
mveGerry Schmitz6-Jun-18 6:25 
QuestionRecursive Best First Search for Pathfinding? Pin
Robert Vandenberg Huang26-May-18 3:29
professionalRobert Vandenberg Huang26-May-18 3:29 
AnswerRe: Recursive Best First Search for Pathfinding? Pin
Gerry Schmitz29-May-18 7:20
mveGerry Schmitz29-May-18 7:20 
AnswerRe: Recursive Best First Search for Pathfinding? Pin
Member 1386820111-Jun-18 16:25
Member 1386820111-Jun-18 16:25 
QuestionWhich one is better O(V+E) or O(ElogE)? Pin
Member 138067031-May-18 8:14
Member 138067031-May-18 8:14 
AnswerRe: Which one is better O(V+E) or O(ElogE)? Pin
Gerry Schmitz2-May-18 8:39
mveGerry Schmitz2-May-18 8:39 

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.