1- Write a function that returns 7 when getting 4 and 4 when getting 7, without using any conditions. 2- As above, only now without using any mathematical operations. 3- As above, only now without using any logical operations. 4- As above, only now without using any operation at all. Extra space is allowed though. 5- What is the minimum space needed to apply last question?
Sigiloso
1- Function that returns 28/n 2- Function that returns the number it gets XOR 011 3- Finction that builds 8 elements array and puts 4 in index 7, puts 7 in index 4, then returns the number in index n 4- 4 elements if array, 2 elements if dictionary.