Minimum Flips to Make a OR b Equal to c

Given three integers a, b, and c, return the minimum number of flips to make (a | b) == c. A flip changes a single bit of a or b from 0 to 1 or 1 to 0.

Examples
Input: [2,6,5]
Output: 3
Hints

Minimum Flips to Make a OR b Equal to c

Given three integers `a`, `b`, and `c`, return the minimum number of flips to make `(a | b) == c`. A flip changes a single bit of `a` or `b` from 0 to 1 or 1 to 0.