Infotree Service interview question

BMS algorithm detect FF in bits