Click here to Skip to main content
15,887,485 members
Home / Discussions / Algorithms
   

Algorithms

 
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 
OP is probably expecting a simple solution, given the description of the problem. HTML looks simple enough, but even if one only takes valid HTML into account, there are a lot of rules one might break.

The easiest way to see if it matches up might be by simply rendering it and seeing if there's an exception. The neat (read as "expensive") way would be an interpreter-pattern.
Bastard Programmer from Hell Suspicious | :suss:
If you can't read my code, try converting it here[^]
"If you just follow the bacon Eddy, wherever it leads you, then you won't have to think about politics." -- Some Bell.

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 
GeneralRe: Problem with understanding aes gcm algorithm Pin
Gerry Schmitz1-May-18 5:09
mveGerry Schmitz1-May-18 5:09 
GeneralRe: Problem with understanding aes gcm algorithm Pin
Eddy Vluggen1-May-18 5:20
professionalEddy Vluggen1-May-18 5:20 
QuestionSub-Pixel Edge Detection - Implementing according to Carsten Steger's method. Pin
Member 1378530717-Apr-18 21:03
Member 1378530717-Apr-18 21:03 
QuestionProblem with variation of gas station problem. Pin
Karol Nowak16-Apr-18 2:42
Karol Nowak16-Apr-18 2:42 
AnswerRe: Problem with variation of gas station problem. Pin
Karol Nowak16-Apr-18 22:44
Karol Nowak16-Apr-18 22:44 

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.