Math, asked by SidhuSaab9086, 1 year ago

A binary gap within a positive integer n is any maximal sequence of consecutive zeros that is surrounded by ones at both ends in the binary representation of n. C3

Answers

Answered by rishika79
0

Answer:

Step-by-step explanation:

A binary gap within a positive integer N is any maximal sequence of consecutive zeros that is surrounded by ones at both ends in the binary representation of N. For example, number 9 has binary representation 1001 and contains a binary gap of length 2.

Hope it helps you...

Similar questions