Skip to content

Introduction to OR Operator

OR operator compares each bit of the first operand to the second operand’s corresponding bit. If both bits are 0, the corresponding result bit is set to 0. Otherwise, the corresponding result bit is set to 1

Gopi Gorantala
Gopi Gorantala
1 min read

Related Posts

Members Public

Leetcode 238: Product Of Array Except Self

Members Public

Leetcode 217: Contains Duplicate

This lesson will teach you how to find the duplicate element using a hashing algorithm.

Leetcode 217: Contains Duplicate
Members Public

Leetcode 121: Best Time To Buy and Sell Stock

Leetcode 121: Best Time To Buy and Sell Stock