Count Good Numbers | Leetcode | Medium | Java | Striver's A to Z DSA Sheet

preview_player
Показать описание
This is a medium level problem which is also a part of Striver's a to z DSA sheet and present in the recursion section of the sheet.
The approach used in the problem needs us to also code the pow function which we do through recursion.
The main problem is being solved through using the concepts from Permutation and combination.

Other problems for practice:
Рекомендации по теме
Комментарии
Автор

i genuinely saw 2-3 videos before this but no one could have explained the way you did
thank you

anishsoni
Автор

Finally this video helped me after trying other videos and chatgpt.
Radhe Radhe!

krishnamagarwal
Автор

great explanation mam keep uploading...

AbhishekKumar-wyjd
Автор

Hi Aditi, Nice explanation. I was actually looking for a JAVA solution, since it has some quirks between double and long. Just one improvement, you don't need to perform %MOD again for first and second since pow recursive function already returns the final answer after performing %MOD, hope that make sense.

impalash_ag
Автор

Mam I'm pretty decent but whenever a question come with the overflow issues it becomes very different for me I couldn't figure out how to use modulus and prevent overflow. How to handle this problem?

DevilJim-ps
Автор

This is exactly what I was looking for, ma'am. However, it would be better in English so that it can reach a wider audience, including all engineering students.

SanjaySomanS
Автор

kitni pyaari aawaz hain, agr aap aise hi video daalti rahogi to me pro coder ban jaaunga 😍😍😍

indianmanhere
Автор

You are a good teacher. You should keep on making such good content.

rajatthakur
Автор

thank you very much, i understood in first time.

hr_patel_
Автор

Keep uploading sister your explanation is simple and to the point

beastboy..
Автор

aapki voice loud nhi hai please focus on audio and well explained

_hustler_boy
Автор

can we use the in-built pow() function instead of declare pow function ?

Mohitjain-jelb
Автор

great explanation. thanks. please keep uploading

sheen.
Автор

I like your energy "MOD VOD BHI KRNA RAHEGA BEECH MAI"😆😆😆

RohitSrivastava-fh
Автор

bahan theme dark kr lo! Great Explanation

premjangir
Автор

Jay shri krishna | thanks for great explanation

NileshKumar-hlyf
join shbcf.ru