Click here to Skip to main content
15,884,062 members
Home / Discussions / Algorithms
   

Algorithms

 
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 
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 
You begin by defining what you have to look for. That are
  • Opening tags <name[ attributes]>
  • Closing tags </name>
  • Self-closing tags <name[ attributes] />
Then think about how you can detect the above and what you have to do with them. For self-closing tags it is obvious that these can be simply skipped. For opening tags you have to find the corresponding closing tag and check if they are on the same level. Such can be done by pushing an open sequence onto a stack and popping upon a closing sequence after checking for identical names.
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 
AnswerRe: Which one is better O(V+E) or O(ElogE)? Pin
Lauren Ragsdale3-May-18 8:06
Lauren Ragsdale3-May-18 8:06 
QuestionProblem with understanding aes gcm algorithm Pin
Member 1380418229-Apr-18 16:14
Member 1380418229-Apr-18 16:14 
AnswerRe: Problem with understanding aes gcm algorithm Pin
Richard MacCutchan29-Apr-18 21:26
mveRichard MacCutchan29-Apr-18 21:26 
GeneralRe: Problem with understanding aes gcm algorithm Pin
Member 138041821-May-18 3:41
Member 138041821-May-18 3: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.