Problem Challenge: Minimum XOR

Solve a problem to test and practice your knowledge and understanding of bitwise tries.

Problem statement

Given an integer array nums, return the minimum result of nums[i] XOR nums[j], where 0 <= i <= j < n.

Example 1

Sample input

Get hands-on with 1200+ tech skills courses.