Лучшее на RU-vid
Кино
Авто/Мото
Видеоклипы
Животные
Спорт
Игры
Приколы
Развлечения
Хобби
Наука
Авторизоваться
Зарегистрироваться
Climbing The Leaderboard HackerRank Solution
26:04
Subarray division
33:17
Comedy Club: Покушение перед выборами | Харламов, Иванов, Бутусов, Сафонов @ComedyClubRussia
11:13
Каха и лужа #непосредственнокаха
00:15
UFC 308: Шара Буллет - Слова после боя
02:38
Wait for it 😂
00:19
How To Solve Find Digits HackerRank Problem | HackerRank Solution
JAVAAID - Coding Interview Preparation
Подписаться 38 тыс.
Просмотров 10 тыс.
50%
1
Видео
Поделиться
Скачать
Добавить в
Опубликовано:
27 окт 2024
Поделиться:
Ссылка:
Скачать:
Готовим ссылку...
Добавить в:
Мой плейлист
Посмотреть позже
Комментарии :
11
@JavaAidTutorials
5 лет назад
Hello Coding Lover, If you have any doubts or any better approach to solve this hackerrank problem, let me know in comments.
@sunnysharma5635
4 года назад
This code give run time error
@JavaAidTutorials
4 года назад
which code? can you please post the code here.
@abhishekthesmoothoperator90
4 года назад
static int findDigits(int n) { int temp=n; int count=0; while(temp>0){ int rem=temp%10; try{ if(rem!=0 && n%rem==0){ count++; }} catch(Exception e){ continue; } temp/=10; } return count; }
@abhishekthesmoothoperator90
4 года назад
@@JavaAidTutorials static int findDigits(int n) { int temp=n; int count=0; while(temp>0){ int rem=temp%10; try{ if(rem!=0 && n%rem==0){ count++; }} catch(Exception e){ continue; } temp/=10; } return count; }
@JavaAidTutorials
4 года назад
I just tried pasting you code on hackerrank. its passing all TCs. Let me know if you have some other doubts?
@shrikantlal2959
4 года назад
This code will only pass the sample test case
@JavaAidTutorials
4 года назад
Try using exactly the same code without any modification
@abhishekthesmoothoperator90
4 года назад
static int findDigits(int n) { int temp=n; int count=0; while(temp>0){ int rem=temp%10; try{ if(rem!=0 && n%rem==0){ count++; }} catch(Exception e){ continue; } temp/=10; } return count; }
@neharai4959
2 года назад
Hi, n%r is not giving 0, like 10234%4! =0, can u please explain this line
Далее
26:04
Climbing The Leaderboard HackerRank Solution
Просмотров 34 тыс.
33:17
Subarray division
Просмотров 2,8 тыс.
11:13
Comedy Club: Покушение перед выборами | Харламов, Иванов, Бутусов, Сафонов @ComedyClubRussia
Просмотров 1,6 млн
00:15
Каха и лужа #непосредственнокаха
Просмотров 797 тыс.
02:38
UFC 308: Шара Буллет - Слова после боя
Просмотров 505 тыс.
00:19
Wait for it 😂
Просмотров 4,9 млн
19:25
Separate the Numbers HackerRank Solution
Просмотров 26 тыс.
14:27
I Tried the CHEAPEST B450 Motherboard on Aliexpress - What could possibly go wrong?
Просмотров 6 тыс.
38:23
Intel Core Ultra 9 285K Review, It's A Mess.... Probably A Flop
Просмотров 185 тыс.
58:20
Think Fast, Talk Smart: Communication Techniques
Просмотров 41 млн
29:59
Count Triplets Hackerrank Solution | Interview Preparation Kit
Просмотров 37 тыс.
26:26
Jumping On The Clouds HackerRank Solution [One Liner Solution]
Просмотров 52 тыс.
22:40
Sherlock and array
Просмотров 1,3 тыс.
25:36
Triple sum Hackerrank Solution O(nlogn) | Interview Preparation Kit
Просмотров 27 тыс.
11:13
Comedy Club: Покушение перед выборами | Харламов, Иванов, Бутусов, Сафонов @ComedyClubRussia
Просмотров 1,6 млн