towers-of-hanoi
towers of hanoi in common lisp
I think this is going to be a vague question because I don\'t know exactly what I am doing in the first place but here it goes.[详细]
2023-04-12 22:14 分类:问答Solving recursive Towers of Hanoi in Lisp
My code in lisp is as follows: (defun solve-hanoi(from) (hanoi (length from) from \'() \'())) (defun hanoi(height from to aux) (when (>= height 1)[详细]
2023-04-12 10:43 分类:问答Towers of Hanoi with Named Discs
For an assignment I have to create Towers of Hanoi in Common LISP with named discs. I need to get output that looks something like this:[详细]
2023-04-11 20:13 分类:问答Idiomatic functional way to move disc in Towers of Hanoi
I am learning Scheme and as a toy example I am doing a solution verifier (not a solver) for Towers of Hanoi.[详细]
2023-04-08 03:41 分类:问答How does recursive algorithm work for Towers of Hanoi?
开发者_如何学JAVAThis is code from a book I have explaining recursion. The problem is that I don\'t understand the steps taken by the program:[详细]
2023-03-26 12:40 分类:问答Continuation passing style makes things tail recursive?
It hurts to ask it here. It really does. Every time I search in vain for the answers to my troubles, I see it. Taunting me. Stack Overflow.[详细]
2023-03-23 05:57 分类:问答Tower of Hanoi, stop sliding
I developed a solution for the Tower of Hanoi problem: public static void bewege(int h, char quelle, char ablage, char ziel) {[详细]
2023-02-01 18:25 分类:问答Hanoi specific problem
Suppose that there are 2*n disks, How could be Hanoi problem solved if odd numbers are disks on bar \"A\" and even disks are on bar \"B\"?[详细]
2023-02-01 17:10 分类:问答Code Golf: Towers of Hanoi
Locked. This question and its answers are locked because the question i开发者_运维知识库s off-topic but has historical significance. It is not currently accepting new answers or interactions.[详细]
2023-01-28 13:58 分类:问答Trying to make a program using a data structure with an array
I just started trying to learn programming so i am taking a class at my local community college and we have to make a program of the tower of hanoi i have been reading books going to the library and w[详细]
2023-01-23 04:13 分类:问答