← Walmart questions

Determine firing direction for tanks without hitting obstacles

Filed under Walmart

In a 2D Cartesian plane with N tanks and M fixed obstacles, assign each tank a firing direction from {N, S, E, W} such that the shot does not strike any obstacle or other tank. If multiple directions…

You've read your 3 free write-ups

Sign up free to keep reading. Your account opens the first 10 questions of every company.

Related Walmart questions

Collected from public candidate posts and coding forums. Updated Nov 2026.