Application Of N Queen Problem