20240725 Finished

This commit is contained in:
jackfiled 2024-07-25 14:34:47 +08:00
parent 5e0c518429
commit 207d8ff783
2 changed files with 26 additions and 1 deletions

View File

@ -183,4 +183,5 @@ mod p215_kth_largest_element_in_an_array;
mod p502_ipo; mod p502_ipo;
mod p373_find_k_pairs_with_smallest_sums; mod p373_find_k_pairs_with_smallest_sums;
mod p295_find_median_from_data_stream; mod p295_find_median_from_data_stream;
mod p67_add_binary; mod p67_add_binary;
mod p190_reverse_bits;

View File

@ -0,0 +1,24 @@
/**
* [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() {
}
}