Bit Array Hackerrank Solutions Sql Interview Query