On Fri, Apr 20, 2018 at 8:34 PM, tejaswi prakash
wrote:
> I generate the values using range and then convert them to sets.
> I am thinking about an approach which involves subtracting the ranges, or
> something along those lines, nothing concrete yet.
(Please don't top-post)
I would recommend ke
I generate the values using range and then convert them to sets.
I am thinking about an approach which involves subtracting the ranges, or
something along those lines, nothing concrete yet.
On Wed 18 Apr, 2018, 8:43 PM Neil Cerutti, wrote:
> On 2018-04-18, tejaswi prakash wrote:
> > Hello all,
On 2018-04-18, tejaswi prakash wrote:
> Hello all,
> I have 3 continuous (steps of 1) ranges a,a1,a2. All of them sorted.
> I am performing the following operations on them
>
> a = a.difference (a1)
> a = a.difference(a2)
If they are each stored as a set I don't see how they can be
sorted. Are yo
Hello all,
I have 3 continuous (steps of 1) ranges a,a1,a2. All of them sorted.
I am performing the following operations on them
a = a.difference (a1)
a = a.difference(a2)
Now, this doesn't seem to make use of the fact that
1. They are sorted
2. They increase in steps of 1 .
Could someone sugges