payal-kothari
6/22/2017 - 7:01 AM

interview Qs

google summer internship

1) given array of integers .  nd pair of integers whose sum is closest to zero.

2)   - : air

      X : wall

      O : bacteria 

     any bacteria surrounding with other alive bacteria or air then it is alive(at
least one direction N,E,W,S).

      ---XX--

      -OOX-

      XXOOX

    so  nd if bacteria is dead or alive.