
Connected Threads
Given N threads with different lengths, connect the ropes into one thread.
Given N threads with different lengths, connect the ropes into one thread.
Determine the last digit of the 2^n number, where n is a given integer.
Find the numbers that are repeating in an array containing numbers from 1 to 1000.
Write an algorithm to check if a number is a power of 2.
Find the second largest number in a vector of n numbers.
Given a vector of n positive integers. Write an algorithm that determines whether there are any 2 equivalent elements in the vector.
Determine the sum of the digits that compose a given number.
Determine the check digit for a given number n.
Given 2 arrays of integer numbers, with m and n elements each, check if the maximum element from the first array is found in the second one.
Solve this challenge and find meaningful permutations.