Here I recorded some thought-provoking problems and codes using recursive algorithm