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

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

like say array=[2,3,4,5,6] and query are two types= [1, update,index,val],[2, l,r,val];

for each query of type two , find the number of elements greater than k and for query of type 1 update value of a[index] = val;

please provide code for that

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

»
23 месяца назад, # |
  Проголосовать: нравится +4 Проголосовать: не нравится
  • »
    »
    23 месяца назад, # ^ |
      Проголосовать: нравится +38 Проголосовать: не нравится

    Hi just a request please don't share code to random blogs. Many companies are conducting placement test right now and you might be unknowingly helping someone cheat.