Блог пользователя gorssorser

Автор gorssorser, история, 10 месяцев назад, По-английски

you are given an Array A with N numbers, you will be dividing the array in two sets, such that if A[i] can only belong either to set 1 or set 2, you will take get a number x by taking or of all elements of set 1 and similarly a number y from set 2, you have to find the maximum value of X & Y.

(well i am not able to do either cause it is created by me only)

Полный текст и комментарии »

  • Проголосовать: нравится
  • -31
  • Проголосовать: не нравится