Showing 3 of 3 questions
Given two integers, determine the minimum number of bit changes required to transform the first integer into the second. If the transformation is not possible, return a specific value.
#1. Number of Bit Changes to Make Two Integers Equal
Given an array of integers, find the number closest to zero. If there are two numbers equally close, return the positive one.
#2. Find Closest Number to Zero
Find two numbers in a given array that add up to a specific target value, and return their indices. Essentially, you need to efficiently locate the pair that satisfies the sum requirement.
#3. Two Sum
Page 1 of 1 · 3 total