simple
IntuitionApproachComplexity
Time complexity:

Space complexity:
Code
# Intuition
<!-- Describe your first thoughts on how to solve this problem. -->

# Approach
<!-- Describe your approach to solving the problem. -->

# Complexity
- Time complexity:
<!-- Add your time complexity here, e.g. $$O(n)$$ -->

- Space complexity:
<!-- Add your space complexity here, e.g. $$O(n)$$ -->

# Code
```rust []
impl Solution {
    pub fn min_bitwise_array(nums: Vec<i32>) -> Vec<i32> {
            nums.iter()
        .map(|&x| {
            if x % 2 == 0 {
                return -1;
            }
            for i in 1..x {
                if (i | (i + 1)) == x {
                    return i;
                }
            }
            -1
        })
        .collect()

    }
}
```
['Rust']