Wednesday, May 11, 2016

HackerRank – Connected Cell in a Grid - Warm up with Five Practices (II)

May 11, 2016


Being a software programmer, it is easy to spend hours to read and catch up technologies, work on new algorithm, but no coding, one day, or one week, even half month/ month. 

So, warm up like sports. Julia chose the algorithm - Connected Cell In a Grid to warm up for a few hours. 

Last time, less than 1 month ago, Julia did work on this algorithm – connected cell in a grid. And then, she started to warm up again.

Here is one of blogs last practice on April 16, 2016:

Warmup coding: 
Her practice, using queue, but use jagged array:  (20 minutes to write), using queue, jagged array, 


Question and answer
1. How is the warmup experience? 
Because this is the second one, after 1 hour writing, debugging the code in first practice using dimensional array/ queue, this one is much easy. Just replace the dimension array using jagged array. 

No comments:

Post a Comment