Rock Your HackerRank Interview

แชร์
ฝัง
  • เผยแพร่เมื่อ 14 ต.ค. 2024
  • Quick tutorial and tips on things you can do to ROCK your HackerRank Interview

ความคิดเห็น • 40

  • @fedmich
    @fedmich 8 ปีที่แล้ว +23

    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

  • @mxolisiveco3625
    @mxolisiveco3625 7 ปีที่แล้ว +32

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

  • @bulelanibotman
    @bulelanibotman ปีที่แล้ว +1

    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

    • @LEARN9652
      @LEARN9652 ปีที่แล้ว

      Can u plz sugguest
      I have salesforce hackerrank test.
      Where can I practice those type f questions

  • @Potenti4lz
    @Potenti4lz 9 ปีที่แล้ว +10

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

  • @sammyfromsydney
    @sammyfromsydney 8 ปีที่แล้ว +46

    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).

    • @flacodoom
      @flacodoom 8 ปีที่แล้ว

      +syousef This

    • @dzenish.2262
      @dzenish.2262 4 ปีที่แล้ว

      You're not rude, he doesn't know what he's talking about.

    • @trooperstorm4310
      @trooperstorm4310 4 ปีที่แล้ว

      You also have the possibility to debug your code IDE.

  • @nathanrbourke
    @nathanrbourke 8 ปีที่แล้ว +3

    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.

  • @tjgeorge6584
    @tjgeorge6584 9 ปีที่แล้ว +2

    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?

  • @BlueSiegel
    @BlueSiegel 9 ปีที่แล้ว +2

    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.

  • @AdrianChilders
    @AdrianChilders 9 ปีที่แล้ว +12

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

    • @davidcrutchfield4459
      @davidcrutchfield4459 9 ปีที่แล้ว

      Adrian Childers I can't find the test exam either. Using the istest.co URL brings me to hackerrank.com, but to a 404 page.

  • @chloealexandras
    @chloealexandras 8 ปีที่แล้ว +2

    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...

  • @zebcode
    @zebcode 4 ปีที่แล้ว +2

    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.

  • @titopathak2048
    @titopathak2048 5 ปีที่แล้ว +1

    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.

  • @cedric_ds
    @cedric_ds ปีที่แล้ว +1

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

  • @mayankjain7343
    @mayankjain7343 7 ปีที่แล้ว +1

    sir please upload video on Elemental Orbs codeagon problem

  • @tjgeorge6584
    @tjgeorge6584 9 ปีที่แล้ว +2

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

  • @naserabdulla8460
    @naserabdulla8460 6 หลายเดือนก่อน

    Amazing video

  • @SLEEPERER
    @SLEEPERER 3 ปีที่แล้ว

    Oh my god, 7 years ago..

  • @yurysid9953
    @yurysid9953 7 ปีที่แล้ว +7

    this has got to be a joke lol.

  • @BlueSiegel
    @BlueSiegel 9 ปีที่แล้ว

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

    • @hcanes100
      @hcanes100 9 ปีที่แล้ว +1

      +Justin Masse I did mine in C++ (as I'm not confident in my other programming languages), but I could NOT get the stupid code to work
      In my experience it literally compiles differently in the website than in my own compiler (CodeBlocks), and I hope this doesn't affect the outcome of my application when I do the actual test; or at least the check the code manually
      If I lose an opportunity due to not passing a test due to an error with their compiler I think it would be fair to understand my frustration

  • @Dramatik4Real
    @Dramatik4Real 5 ปีที่แล้ว +1

    You're fired

  • @SunilMaddheshiya1995
    @SunilMaddheshiya1995 6 ปีที่แล้ว +3

    What the hell is this!!!!

  • @faizan2496
    @faizan2496 5 ปีที่แล้ว +1

    Waste of time..

  • @trysth
    @trysth 4 ปีที่แล้ว +2

    Amazingly bad.

  • @subhajitpal2407
    @subhajitpal2407 6 ปีที่แล้ว +3

    I just wasted 7 minutes of my life