dsa

MCQs Set Data Structure

MCQs Set Data Structure

1. A __________ is an ordered collection of objects. Relation Function Set Proposition Ans: (c) Set 2. The set O of odd positive integers less than 10 can be expressed by _____________ {1, 2, 3} {1, 3, 5, 7, 9}…

[Solved] Maximum XOR After Operations LeetCode Contest Problem

[Solved] Maximum XOR After Operations LeetCode Contest Problem

Maximum XOR After Operations: You are given a 0-indexed integer array nums. In one operation, select any non-negative integer x and an index i, then update nums[i] to be equal to nums[i] AND (nums[i] XOR x). Note that AND is the bitwise AND operation and XOR is the bitwise XOR operation. Return the maximum possible bitwise XOR of all…

MCQs Data Structure 60+

MCQs Data Structure 60+

1. The operation that combines the element is of A and B in a single sorted array C with n=r+s element is called …. Where r,s and n is total number of elements in sorted array A,B and c respectively…