7 kyu
Find the number of trailing zeros, in its binary representation , of a number.
495 of 967anudeep7150
Description:
Given a number n
, find the number of trailing zeros in its binary representation.
Examples:
4 -> 2
, because 4
is represented as 100
5 -> 0
, because 5
is represented as 101
Limits:
0 < n <= 10^4
Logic
Bits
Similar Kata:
Stats:
Created | Sep 16, 2024 |
Published | Sep 16, 2024 |
Warriors Trained | 1501 |
Total Skips | 22 |
Total Code Submissions | 2166 |
Total Times Completed | 967 |
Python Completions | 495 |
Haskell Completions | 23 |
C Completions | 73 |
JavaScript Completions | 266 |
Rust Completions | 51 |
C# Completions | 59 |
Dart Completions | 31 |
Lua Completions | 17 |
Scala Completions | 16 |
TypeScript Completions | 50 |
λ Calculus Completions | 11 |
Total Stars | 12 |
% of votes with a positive feedback rating | 90% of 138 |
Total "Very Satisfied" Votes | 115 |
Total "Somewhat Satisfied" Votes | 19 |
Total "Not Satisfied" Votes | 4 |
Total Rank Assessments | 18 |
Average Assessed Rank | 7 kyu |
Highest Assessed Rank | 7 kyu |
Lowest Assessed Rank | 8 kyu |