Dynamic Array | HackerRank

preview_player
Показать описание
Hi guys,

My name is Mike the Coder and this is my programming youtube channel. I like C++ and please message me or comment on what I should program next. It really helps out a lot.

Rate, Comment, Subscribe

Personal Accounts:
Instagram: @michaellin250
Twitter: @Michaellin250
Рекомендации по теме
Комментарии
Автор

When I first saw this problem, I got so confused about what query 1 and query 2 are supposed to be. I thought "Query: 1 x y" meant "Query: 1 times y", and "Query: 2 x y" meant "Query: 2 times y". And I was thinking what the hell is the value of x and y supposed to be?! 😂 You helped me realise "1 x y" and "2 x y" are literally the format of the query lines. I was probably thinking this way because a couple of question I did prior to this one related to matrices, and I was too busy wondering why I don't see a 1 by y matrix and a 2 by y matrix. 😂 Thanks for helping me see the error of my ways! 👍🏽

djgulston
Автор

What the hell does this problem mean though? Where's the dynamic array part, and what's the point of all those steps we perform, any meaning?

pranavnyavanandi
Автор

It's a pile of the crap problems on Hackerrank, don't you think? Till now i have seen some problems having crapy question description. I'm planning to leave Hackerrank. What do you suggest?
PS: Great explanation, thanks alot

husler
Автор

Thank you. It`s an awful explanation from HACKERRANK!

mufasasimsek
Автор

This video is excellent. One point though (it is a pet peeve- no hate!) it is pronounced qweer-y not qwhere-y!

babyduck