Given an integer array nums, return the bitwise $ ext{OR}$ of the sum of every possible subsequence of nums.
A subsequence is a sequence that can be derived from an array by deleting zero or more elements without changing the order of the remaining elements.
Note: The sum of an empty subsequence is defined as
.
Constraints:
nums.length
nums[i]
Given an integer array nums, return the bitwise $ ext{OR}$ of the sum of every possible subsequence of nums.
A subsequence is a sequence that can be derived from an array by deleting zero or more elements without changing the order of the remaining elements.
Note: The sum of an empty subsequence is defined as
.
Constraints:
nums.length
nums[i]