Stop telling the computer how to search. Tell it what a win looks like. Solving the Cracker Barrel peg game by brute force, then with the Z3 SMT solver.
#computer science
Content tagged with "computer science"
A little Q-learning, a perfect maze, and two mice running in WebAssembly. How I rebuilt Claude Shannon’s 1950 Theseus mouse in Rust, with a live demo.
Don’t fear the regex! Learn regular expressions from the building blocks up: quantifiers, grouping, alternation, anchors, and greediness, plus tools and books.
UAH CS317: complexity analysis, searching, sorting, graph algorithms, divide & conquer, dynamic programming, backtracking, and P versus NP.
UAH CS403: finite automata, regular expressions, grammars, pushdown automata, Turing machines, and the halting problem, built up one model at a time on paper.
UAH CS603, graduate formal languages and automata: DFAs, NFAs, regular languages, grammars, pushdown and linear-bounded automata, decidability.