← Accolite questions

8 Queens problem and two non repeating elements

Filed under Accolite

Solve the 8 Queens problem (place 8 queens on a chessboard such that no two attack each other) and find two non-repeating elements in an array in O(N) time and O(1) space.

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 Accolite questions

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