## Java Coin Change Problem Using Recursion — not working

I searched up the code and logic for this and basically copied the code from https://www.youtube.com/watch?v=k4y5Pr0YVhg and https://www.techiedelight.com/coin-change-problem-find-total-number-ways-…

## recursive function bug skips the first element in array on the second run

i have this function that prints every letter from array. here is a link to jsFiddle: https://jsfiddle.net/yaroslav_cherednikov/ypbuhmqv/71/ it works well on the first run but then skips the first …

## Trouble correctly using boolean method along with using recursive methods

i’m currently working on a project that’s uses recursion. Right now i have 3 classes, The first one has the object and variables, along with my methods. public class Country { private String name; …

## Java domino tiling with recursion: second if block gets called with already updated values

A rectangular grid m x n, should be filled with m*n/2 2×1 dominoes that can be placed horizontally or vertically. How many possible soluitons exist? I’m trying to solve this problem with recursion (…

## multidimensional array to one dimensional array recursively

I have this multidimensional array \$liste = [[1,2,3],5,[[‘x’,’y’,’z’],true]]; and I want to change it to one dimensionel array \$liste = [1,2,3,5,’x’,’y’,’z’,true]; so i always have a problem that …

## Convert Array of Objects to Nested Object in Javascript

I would like to convert an array of objects to a nested object using a recursive function. The objective is to create a function that works whatever the depth of my inital array. You can see below …

## Recursively create string out of array of nested objects?

Ultimately, I’m not sure if this is the right way to go about this, so I’m open to suggestions. What I’m trying to do is write a recursive function that is called while iterating over each element …

## Javascript Get childs nodes object with recursion

in the backend php server, i’ve a class Part like this : Class Part(){ \$id; // Integer \$name; //string \$parents; // Array, which is a list of all of parents Part } So the attribute \$parents,…

## Recursive function to move a specific key in a multidimensional array to the bottom of his level

I’m looking for a php (sort?)function which move a specific key (‘current_files’) to the bottom of its array level. I have sth like that: [A] => [ [current_files] => [ [0] =>…

## Java – Recursion to find the 2 smallest nums in array

So I have this problem of finding the 2 smallest numbers in array but I have to use recursion (the recursion part is a part of this exercise). I start thinking how to do it and ‘the plan’ that I …