leetcode/src/problem/p190_reverse_bits.rs

25 lines
288 B
Rust
Raw Normal View History

2024-07-25 14:34:47 +08:00
/**
* [190] Reverse Bits
*/
pub struct Solution {}
// submission codes start here
impl Solution {
pub fn reverse_bits(x: u32) -> u32 {
x.reverse_bits()
}
}
// submission codes end
#[cfg(test)]
mod tests {
use super::*;
#[test]
fn test_190() {
}
}