Micro Focus interview question

The coding question was about finding largest prime among subsequence binary string