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

Автор krazy8, история, 5 лет назад, По-английски

Given an array of size n-1 filled with elements from 1 to n with one missing number. Find that missing number using divide and conquer.
I google it and found many binary search algorithms but couldn't find any divide and conquer approach. Anybody know how to solve it.

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

»
5 лет назад, скрыть # |
 
Проголосовать: нравится +23 Проголосовать: не нравится

if anyone knows i'm also interested in solutions using dynamic prorgramming, maxflow, fft and the gröbner basis... please help!!