Saturday, April 1, 2017

Hackerrank HourRank 19

April 2, 2017

Julia will play hackerrank hourrank 19, and the contest will start from 8:00am PDT to 9:00am PDT. She knows what she should work on in the contest.

Beautiful 
Morning 
Run 

Journey of one hour


Recover the Arrays - 8:00 am - 8:20 am


The hour is very fantastic experience. First 10 minutes to read the first algorithm - Recover the Arrays, and then I asked myself what is missing in the problem statement, Julia missed the statement:

the array's number of elements and then each of elements are followed.

Julia took 10 minutes to figure out this, Julia read the graph with highlighted font "5 2 1" - first char in 3 rows asking herself - what is meaning of the number?

Score 20

What are the Odds?


This is the nim game algorithm. Julia tried to recall the algorithm, she read the problem statement in 10 minutes but could not recall the nim game and current algorithm very well. She has to find how many options, and then she searched her coding blog - Nim, reviewed the algorithm and solution.

Time spent: 8:20 - 8:40 am

The game is modified and she started to read special move before starting a game of Nim.
She tried to think about problem, it should be simple to enumerate all possible selection, and each of them play nim game.

No coding. It is hard to recall the game and it takes time to read through the problem statement.

Maximum Tree Diameter 


Julia decided to give third algorithm some time, from 8:52 am to 9:00 am, she likes to read the problem statement. And she did come out the idea what the problem is.


Actionable Items


Julia checked the third algorithm, how many Google employees played, and then she understood the difference, she has to take life style of those players, if she wants to be a good player.


Beautiful morning run - Julia called this hour a beautiful morning run. She got some companions as well.

Read those minutes, cuiaoxiang even finished 12 minutes before the hour. The first full score was made in the first 31 minutes. Unbelievable!

Julia, you should better invest some time and make the algorithm/ data structure as your powerful weapon. So, it does not matter which job you go to, you will have a good time!

Julia was glad to know that she found her reading challenging through the first algorithm. 10 minutes, she finally understood the algorithm. Based on the experience, in hour rank, Julia will try to work on more to read algorithm problem statement, make sure that she can understand easy algorithm in first reading.

Sports warmup 



Julia's favorite warmup - Sharapova warmup with her coaches 4 minutes video

                                         Angelique Kerber - tennis ball warmup


Tennis Olympics - Andrea Petkovic, Angelique Kerber, Juergen Melzer and many more 4 minutes video.

No comments:

Post a Comment