Hah, I'm not sure if recursiveness is a word, but it's the best I could come up with .
Most of us know about the popular recursive example of searching through file folders. Does anyone have any recursive examples that are a bit more complicated than this? I don't really have any coding problems that I need solutions for, but I was hoping to broaden my knowledge of recursiveness by seeing what others have done. If you don't mind sharing, please try to keep the code clean so it can be understood .
Thanks all!
He who has knowledge spares his words, and a man of understanding is of a calm spirit. Even a fool is counted wise when he holds his peace; when he shuts his lips, he is considered perceptive. - King Solomon
Most of us know about the popular recursive example of searching through file folders. Does anyone have any recursive examples that are a bit more complicated than this? I don't really have any coding problems that I need solutions for, but I was hoping to broaden my knowledge of recursiveness by seeing what others have done. If you don't mind sharing, please try to keep the code clean so it can be understood .
Thanks all!
He who has knowledge spares his words, and a man of understanding is of a calm spirit. Even a fool is counted wise when he holds his peace; when he shuts his lips, he is considered perceptive. - King Solomon