Learn AI, Data Science & Business — Earn Certificates That Get You Hired
Learn Excel and Financial Modeling the Way Finance Teams Actually Use Them
Overview
Google, IBM & Meta Certificates – 40% Off
One Coursera Plus subscription covers most Professional Certificates on Coursera.
Unlock All Certificates
This lesson demonstrates recursive solutions to the LeetCode problems Letter Combinations of a Phone Number and Number of Dice Rolls With Target Sum. It covers returning results as an ArrayList, counting results, and adapting the dice problem to custom face counts.
Syllabus
Introduction
Q1 : Letter Combinations of a Phone Number
Code for Q1
Returning Q1 output as an ArrayList
Returning the count
Q2 : Number of Dice Rolls with Target Sum
Code for Q2
Returning Q2 output as an ArrayList
Dice with custom number of faces
Outro
Taught by
Kunal Kushwaha