recursion
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 分类:问答Merging of xml documents
All of the solutions I have come across regarding merging XML documents do not accomplish what I desire.Let me explain:[详细]
2023-04-12 10:41 分类:问答Alorithmic complexity of recursive function
Here is my function. It is a simple one, I\'m just not confident on what the answer is. int calcul( int n) {[详细]
2023-04-12 08:01 分类:问答Walking/iterating over a nested dictionary of arbitrary depth (the dictionary represents a directory tree)
Python newbie at time of writing. This came up because I want a user to be able to select a group of files from within a directory (and also any subdirectory), and unfortunately Tkinter\'s default abi[详细]
2023-04-12 05:54 分类:问答JTree Search Recursion Issue
I am new to using JTree, so please bear with me if I am overlooking some very basic things. I am working on a Jtree file explorer. It takes a directory, adds nodes, select nodes and all that good stuf[详细]
2023-04-12 05:51 分类:问答Recursive JavaScript function using array doesn't work
I try to make a recursive function to delete files using jQuery and ajax to show the status of the process. The problem is, the first time the function is executed (index 0) everything is fine and the[详细]
2023-04-12 05:39 分类:问答Splitting a range of numbers up recursively with Python
I would like to write a recursive function in Python开发者_如何学Go. I have written one but it doesn\'t work correctly.[详细]
2023-04-12 02:29 分类:问答git add -A is not adding all modified files in directories
I want to add all files no matter what: whether it is deleted, created, modified, untracked, etc? I just don\'t want to git add ALL my files EVERY TIME. I tried git add -A but it is NOT adding modifie[详细]
2023-04-12 00:19 分类:问答Javascript recursion not working
I\'m making a jquery minesweeper and am currently working on the revealing function for when you click a block with 0 adjacent mines. The intended result is to loop through all 8 adjacent blocks revea[详细]
2023-04-11 22:35 分类:问答Recursive Table/Row Generator
I\'m having a tough time wrapping my head around the following situation. The best way to explain may be by example[详细]
2023-04-11 22:04 分类:问答