Bitwise XOR of All Pairings

Today we are looking at one of the question involving bits and logic gates. You are given two 0-indexed arrays, nums1 and nums2, consisting of non-negative integers. There exists another array, nums3, which contains the bitwise XOR of all pairings of integers between nums1 and nums2 (every integer in nums1 is paired with every…

Introduction to Concurrency

Concurrency

Parallel Vs Concurrent Programming The birth of thread comes from the concept/troubles of Parallel and Concurrent programming. I find myself confused many times and have used these interchangeably. Concurrent Programming : Refers to environment when tasks occur in (any) order.…