Тёмный
No video :(

Jumping on the Clouds Problem [HackerRank] | Interview | Problem Solving 

Coding Cart
Подписаться 12 тыс.
Просмотров 7 тыс.
50% 1

This video is about HackerRank Jumping on the Clouds Problem.
Problem:
www.hackerrank...
Source Code:letstacle.com/...
For 1 : 1 Tutoring
WhatsApp contact : 7278222619
mail: jaiswalsatya93@gmail.com
You can support via UPI : sattujaiswal@okhdfcbank
Follow us on:
Whatsapp:
chat.whatsapp....
Telegram:
t.me/joinchat/...
For Python homework help visit our sponsor site
letstacle.com/...
You can support via UPI : sattujaiswal@okhdfcbank
For 1 to 1 Python Tutoring
letstacle.com/...
Email: help@letstacle.com
Facebook:
/ 779620502848988
/ codingcart
Linkedin:
/ satyendra-jaiswal-9035...
/ codingcart
Instagram:
/ codingcart
#HackerRank #Interview #ProblemSolving

Опубликовано:

 

22 авг 2024

Поделиться:

Ссылка:

Скачать:

Готовим ссылку...

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 26   
@jaabryan
@jaabryan 3 года назад
I learned from this exercise the order of the if conditions matters. Placing c[i+2] first results in out of range since it is evaluated before n+2
@codingcart
@codingcart 3 года назад
Excellent!
@blackraven6049
@blackraven6049 3 года назад
Thanks dude. I have solved problems way harder than this in the past but haven't done many algorithmic problems as of late and was getting frustrated why some cases weren't passing when the solution was so obvious (if you are somewhat experienced). My issue was that I was not checking if i + 2 < len(c) before checking if c[i + 2] == 0. Seems so obvious now but was huge pain when I wasn't getting it. Anyway thanks for the explanation.
@codingcart
@codingcart 3 года назад
Always try to check boundaries cases😊
@madhankumarb08
@madhankumarb08 7 месяцев назад
Thank you so much sir ❤❤❤❤❤❤❤❤❤❤
@codingcart
@codingcart 7 месяцев назад
Glad it helped😊. Please do share with your friends too😊
@husler7424
@husler7424 Год назад
The most underrated solution. I searched here and there but didn't find such explanation. Unmatchable. Thanks @coding cart.
@codingcart
@codingcart Год назад
Glad you liked it 😊. Do share with your friends too 🙂
@ashoksa1484
@ashoksa1484 3 года назад
thank you bro, i hv a suggestion for your channel to grow i saw a channel named JAVAID he is getting lots of views in same questions which you have done in your channel what he is doing is , in every discussion section of every question he had given his link of particular video and had written few words about that question thts all.. I suggest u also do the same and look how your views will increase coz u deserve more views thank u p.s- channel name is JAVAAID-Coding Interview Preparation
@codingcart
@codingcart 3 года назад
Okay, Thank you for your suggestions. We will keep in mind. Thanks again for you support
@ashoksa1484
@ashoksa1484 3 года назад
@@codingcart always welcome bro
@rayhan8701
@rayhan8701 4 года назад
Thank you bro...
@codingcart
@codingcart 4 года назад
Welcome
@temitopeagoro4603
@temitopeagoro4603 3 года назад
Why wouldn't a counter with a for loop not work here?
@abelorrego3243
@abelorrego3243 3 года назад
Thank you for the video! A final question. I don't get why to put "while i
@State_exam_preparation
@State_exam_preparation 4 года назад
Waw👌
@codingcart
@codingcart 3 года назад
Thanks:)
@user-hn9jk5xg3c
@user-hn9jk5xg3c 6 месяцев назад
sir what is your networth and which company are you currently working??
@sivashankaramaravelpandian2102
@sivashankaramaravelpandian2102 3 года назад
c = [0, 1, 1, 0, 0, 0, 1, 0, 0] or c = [0, 1, 1, 1, 0, 0, 0, 1, 0, 0]
@sumanthchowdary9699
@sumanthchowdary9699 4 года назад
why while i < len(c) -1:? y don't while i < len(c) :?
@codingcart
@codingcart 3 года назад
Just give a try from your end...you will get it :)
@AdityaSharma-fd9px
@AdityaSharma-fd9px 3 года назад
It will give you out of range error
@rudeadyet1992
@rudeadyet1992 3 года назад
len_of_clouds = 7 which means last index = 6 so when i=6, (i+2) it would be (6+2 = 8) and 8 is out of range. So in case of i < len(c), "i" would reach to 6, so to avoid that you should minus 1 to len(c), which make loop iterate till i = 5. hope that makes sense! 😅
@sumanthchowdary9699
@sumanthchowdary9699 3 года назад
@@rudeadyet1992 thanks for ur explanation. I was noob at that time😂
@rudeadyet1992
@rudeadyet1992 3 года назад
@@sumanthchowdary9699 no worries :)
@sivashankaramaravelpandian2102
@sivashankaramaravelpandian2102 3 года назад
did anyone try continuous 2 thunderhead in this code.
Далее
Repeated String  [HackerRank] | Python | Interview
9:44
10 Common Coding Interview Problems - Solved!
2:10:50
Просмотров 573 тыс.