vasandani68's blog

By vasandani68, history, 7 years ago, In English

What are the various methods to solve this problem ?

Full text and comments »

  • Vote: I like it
  • -10
  • Vote: I do not like it

By vasandani68, history, 8 years ago, In English

What can be the approach to solve this problem? I am not able to understand that when any array can have its lcm equal to its product?

Full text and comments »

  • Vote: I like it
  • +11
  • Vote: I do not like it

By vasandani68, history, 8 years ago, In English

Can anyone provide an explanation for this problem!! I am not able to understand the basic idea.

Full text and comments »

  • Vote: I like it
  • 0
  • Vote: I do not like it

By vasandani68, history, 8 years ago, In English

How can this problem be solved with persistent segment tree??Although there are other methods to solve this but i am interested in persistent segment tree!!

Full text and comments »

  • Vote: I like it
  • 0
  • Vote: I do not like it

By vasandani68, 8 years ago, In English

What can be various approaches to solve this problem?
Can it be solved using Fenwick Tree , square root decomposition or a persistent segment tree?

Full text and comments »

  • Vote: I like it
  • 0
  • Vote: I do not like it

By vasandani68, history, 8 years ago, In English

How can it be solved using Fenwick trees , DSU , Segment trees etc? Problem link- (http://www.spoj.com/problems/CPAIR/)

Full text and comments »

  • Vote: I like it
  • +5
  • Vote: I do not like it