Rock Your HackerRank Interview

preview_player
Показать описание
Quick tutorial and tips on things you can do to ROCK your HackerRank Interview
Рекомендации по теме
Комментарии
Автор

If you do want to rock your HackerRank, all you gotta do is to keep practicing either once a day, once every 2 days, or even at least once a week. Practice doesn't make you perfect but it keeps you familiar with the possible issues you'll encounter

fedmich
Автор

You cannot copy hackerrank code, once you do that, a warning appears. If you continue coping and pasting, you might be disqualified.

mxolisiveco
Автор

thank you for this video, even after 8 years it is what i needed during my hackerrank test. if only i watched this video before the test because i failed the test trying to decipher the error while reading the code which cost me time and my opportunity. now i know i won't make that mistake again

bulelanibotman
Автор

I don't mean to be rude but this makes no sense at all.
- You don't want to waste time hitting a compile button but you're happy to plug code into an IDE, when all you may be provided with is the stub and there may be a whole set of other supporting code hidden to you. Unless you can get hold of that code you'd have to replace it (WAY too time consuming and you're guessing), otherwise constantly cutting and pasting the whole solution to your hackerrank IDE. I can't see how any of this saves time.
- Hard coding answers to pass tests then trying to replace them is also the long way around to do something and will waste your time. How many iterations are you going through just to write a simple count and print method? Then there's always the risk that you leave something in hard coded and fail the other test cases (easy mistake to make under pressure).

sammyfromsydney
Автор

Better to write your code to accept dynamic inputs, who knows what other test cases they could have in the real tests.

Potentilz
Автор

I've watched this video three times and I still don't know what to type to pass this example question!?!

AdrianChilders
Автор

I'm really confused about how the hackerrank templates are used. What do you mean when you 'you can plug your code directly into these'? Looking at the Ruby template, I'm not sure how the code is to be used on my local machine, or why I would want to use it.

I don't use an IDE so this may be confusing.

Really if the goal of writing your code on a local machine to is to test it for syntax errors in real time, for interpreted languages its just better to use a text editor with a linter plugin.

nathanrbourke
Автор

What about the 2 other test cases? There is no info on what it is expecting or do they pass the int to your program?

tjgeorge
Автор

it bugs me how you flip x and y, literally everyone in the world does it differently

cedric_ds
Автор

Just curious, how would this be accomplished in C? I tried and couldn't get it to work. I was able to follow the Java solution and it made sense to me.

BlueSiegel
Автор

constraint n < 10*7 is what the code wants according to the narrator
this is very different than the n < 10^7 that is listed in this video...

chloealexandras
Автор

Some little interesting tips in there but I'm sorry the compile will take longer. You also left in a println that should have been removed.

zebcode
Автор

Not good, its okay that first you see the test case result, but thats it, whatever you did next does not make sense. IDE is taking more time than that of your online compiler and test.

titopathak
Автор

Never mind figured it out got all 3 to pass by modifying

tjgeorge
Автор

sir please upload video on Elemental Orbs codeagon problem

mayankjain
Автор

Perhaps I'm not as good at C as I thought..

BlueSiegel