Skip to content Skip to sidebar Skip to footer
Showing posts with the label Backtracking

Backtracking Algorithm To Create A "jumbled" But Not Random Array

I have written this backtracking algorithm to make a jumbled-looking array of 70 items from an inpu… Read more Backtracking Algorithm To Create A "jumbled" But Not Random Array

Parse C-style Comments With Regex, Avoid Backtracking

I want to match all block and multiline comments in a JavaScript file (these are C-Style comments).… Read more Parse C-style Comments With Regex, Avoid Backtracking