Problem Our company uses an old version of JAXB so it does not allow generics. Other than that, I am […]

# Tag: recursion

## Wrapping certain elements in an array with an array with PHP

Problem I have a function that’s doing this correctly, but I feel as though this can be done (possibly) with […]

## Recursion with char[] in c#

Problem I am trying to learn recursion and have a question involving an array that needs to be reversed. I […]

## Is this the best way to check sorting (in recursion) without loops?

Problem Please let me know if there is a shorter way to do it again without any kind of loops. […]

## Base 26 (letters) and Base 10 using recursion

Problem I was messing around with base conversion between decimal and Base26 (alphabet) with no 0th case because I needed […]

## Knight’s tour code

Problem Another one for some late night snack. – Knight’s tour! Please provide your suggestions/flaws/optimization to this knight’s tour backtracking […]

## Boolean evaluation

Problem Given a boolean expression consisting of the symbols 0 (false), 1 (true), & (AND), | (OR), and ^ (XOR), […]

## Golfed Inverse Ackermann Function [closed]

Problem Closed. This question is off-topic. It is not currently accepting answers. Questions containing broken code or asking for advice […]

## Recursive branch and bound Knapsack solution [closed]

Problem Closed. This question is off-topic. It is not currently accepting answers. Questions containing broken code or asking for advice […]

## A cartesian product of tuples in C++17

Problem I would like to write a function that computes a cartesian product of two tuples in C++17 (the tuples […]