title: Smallest Power Of 2 Greater Than Or Equal To N
signature: smallest_power_of_2_greater_than_or_equal_to_n <- function(n) {
source_py: def smallest_power_of_2_greater_than_or_equal_to_n(n):
      count = 0
      if (n and (not (n & (n - 1)))):
          return n
      while (n != 0):
          n >>= 1
          count += 1
      return (1 << count)
source_cpp: unsigned int smallest_power_of_2_greater_than_or_equal_to_n(unsigned int n) {
    unsigned count = 0;
    if ( n && ! ( n & ( n - 1 ) ) ) return n;
    while ( n != 0 ) {
      n >>= 1;
      count += 1;
    }
    return 1 << count;
  }