backtracking
backtracking in haskell
I have to traverse a matrix and say how many \"characteristic areas\" of each type it has. A characteristic area is defined as a zone where elements of value n or >n are adjacent.[详细]
2022-12-26 07:06 分类:问答How do I resolve the "Crypt Kicker" exercise proposed in "Programming Challenges (The Programming Contest Training Manual)"?
\"Programming Challenges (The Programming Contest Training Manual)\" is probably one of the nicest exercises book on algorithms.[详细]
2022-12-18 22:20 分类:问答Backtracking recursion question
There is a bag that can take X kilogram. You will get an array of stuff and their weight. Print true and the each weight of the stuff[详细]
2022-12-16 06:12 分类:问答Backtracking in Erlang
First of all sorry for my English. I would like to use a backtracking algorithm in Erlang. It would serve as a guessing to solve partially filled sudokus. A 9x9 sudoku is stored as a list of 81 eleme[详细]
2022-12-13 18:12 分类:问答