Knowledge 1

 ^ - Bitwise exclusive or 

returns false when both are false and both are true.

returns true only if one of the operand is true.

https://leetcode.com/problems/single-number/description/


solution using bitwise


types of heap

    - min heap

    - max heap

In min heap root element is the minimum in the heap. same for max i.e. it is the maximum in heap.

Comments

Popular posts from this blog

26th September - Day 15 of writing Diary

Day 2 of writing Diary

6th October Day 25 of writing Diary