I think answer must be
Bit stuffing- In general, For a given delimiter pattern of the form 01k0 , we stuff a '0' bit in an actual message as and when we encounter a form of 01k-1 .
Here, the delimiter is - 011110 So we stuff '0' whenever we see '0111'
So, 10111001110101110111010
Check this for more- https://gateoverflow.in/153783/bit-stuffing?show=153783#q153783
https://www.cse.iitk.ac.in/users/dheeraj/cs425/lec09.html
As I said we stuff '0' as and when we see '0111' not '01111' .(Notice that in general formula I have stated 01k-1). Please read the answer again.
64.3k questions
77.9k answers
244k comments
80.0k users