GigaSpaces Interview Question

Implement TIC tac toe in java using some of their functions (Java)