I was so fool that I first try to initialize an 2D array filled with black. After several failed try, I realized it can only be solved to simulate every time according to the input Finally, I got A.C.
Have you ever...
Wanted to work at best companies?
Struggled with interview problems that could be solved in 15 minutes?