Skip to content

Problem 2.3 (b) #1

@aashay-m

Description

@aashay-m

Hey there, I believe there's a correction in this part, since it doesn't account for adding (+1, -1, -1, +1) for N=4, which is a dichotomy that is covered by Negative intervals, but not positive intervals.

In this case, the growth function should be N^2 - N + 2.

This is obtained by taking the union of the positive and negative intervals, ie:

growth function = growth function of +ve intervals + growth function of negative intervals - dichotomies common to both
= 2 x (growth function of +ve intervals) - 2N (since dichotomies covered by both +ve and negative intervals require all +ve and -ve points to be grouped together, corresponding to part (a) Positive or Negative rays)
= N^2 +N + 2 - 2N
= N^2 - N + 2.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions