1. Home
  2. Explore
  3. Computer Science
  4. Theoretical Computer Science

Study methods

Flashcards
Quiz
Fill in the blanks
Written test
Lesson
Notes
Podcast
Content

Theoretical Computer Science

  • 62Unfamiliar
  • 0Learning
  • 0Familiar
  • 0Mastered
Topic: Algorithmic Frameworks
Algorithms that solve a problem in time close to the size of its input are commonly described as running in
time.

62 questions

  1. 1
    Algorithms that solve a problem in time close to the size of its input are commonly described as running in
    _____
    time.
    Hint

    The phrase describes a runtime that is almost linear in the input size.

    Answer

    nearly linear

  2. 2
    Recent algorithmic advances have overcome barriers that had persisted for
    _____
    in several foundational problems.
    Hint

    The barriers were longstanding rather than recent.

    Answer

    decades

  3. 3
    Analyzing
    _____
    is one example of a foundational theoretical computer science problem that has seen algorithmic progress.
    Hint

    These models describe transitions among states.

    Answer

    Markov chains

  4. 4
    Computing
    _____
    of a graph is another example of a foundational problem mentioned in connection with faster algorithms.
    Hint

    It concerns how well-connected a graph's vertices are.

    Answer

    vertex connectivity

  5. 5
    A
    _____
    tree is a graph structure whose computation was cited as a foundational algorithmic problem.
    Hint

    The name is hyphenated and refers to a tree associated with graph cuts.

    Answer

    Gomory-Hu

  6. 6
    Recent fast algorithms combine optimization methods with
    _____
    that organize and update information about subproblems.
    Hint

    These tools store information so it can be accessed efficiently.

    Answer

    data structures

  7. 7
    Random sampling and
    _____
    techniques can speed up the information-gathering steps of algorithms.
    Hint

    These techniques compress or summarize data while preserving useful information.

    Answer

    sketching

  8. 8
    An iterative optimization method repeatedly uses information about a problem to make
    _____
    toward a solution.
    Hint

    Each iteration is intended to move the method closer to its goal.

    Answer

    progress

  9. 9
    Instead of optimizing the cost of every iteration separately, an algorithm can exploit shared structure across the entire
    _____
    of subproblems.
    Hint

    The subproblems are generated one after another by the iterative method.

    Answer

    sequence

  10. 10
    Optimization methods can sometimes reduce a difficult dynamic problem to a sequence of
    _____
    optimization problems.
    Hint

    These problems do not change while each individual instance is being solved.

    Answer

    static

  11. 11
    In the primal form of a linear program described in the talk, the objective is to minimize the cost of a
    _____
    vector subject to linear constraints.
    Hint

    The vector's entries are restricted to values that are not below zero.

    Answer

    non-negative

  12. 12
    In the dual form described in the talk, the objective is to maximize a
    _____
    function subject to linear inequality constraints.
    Hint

    The objective is linear in the variables and represents what is being maximized.

    Answer

    linear cost

  13. 13
    Each row of the constraint matrix in the geometric view of a linear program defines a
    _____
    that the feasible point must satisfy.
    Hint

    A linear inequality divides space into two regions, and the feasible region lies on one side.

    Answer

    half space

  14. 14
    The feasible region formed by intersecting the linear program's constraint half spaces is a convex
    _____
    .
    Hint

    It is a convex geometric region defined by linear constraints.

    Answer

    polytope

  15. 15
    For maximum flow, a general linear programming method can be useful because the problem can be expressed as a
    _____
    .
    Hint

    It is the optimization problem that minimizes or maximizes a linear objective subject to linear constraints.

    Answer

    linear program

  16. 16
    The simplex method searches for a solution by starting at a polytope corner and moving toward the
    _____
    .
    Hint

    In the geometric picture, this is the location favored by the objective.

    Answer

    bottom

  17. 17
    The ellipsoid method repeatedly shrinks a containing region until it contains only the
    _____
    .
    Hint

    This is the point that optimizes the objective.

    Answer

    minimizer

  18. 18
    For high-accuracy solutions in the settings discussed, the leading theoretical methods for linear programming are
    _____
    methods.
    Hint

    These methods work from within the feasible region and follow a path toward an optimum.

    Answer

    interior point

  19. 19
    The runtime discussion focused on high accuracy and hid logarithmic dependence on accuracy and
    _____
    measures.
    Hint

    These measures describe numerical difficulty or sensitivity in a problem.

    Answer

    condition number

  20. 20
    Methods based on gradient descent are examples of
    _____
    methods that can solve some optimization problems approximately.
    Hint

    They use gradient information rather than requiring second derivatives.

    Answer

    first order

  21. 21
    A barrier function is defined on the interior of a polytope and its value tends to infinity as a point approaches the
    _____
    .
    Hint

    It is the edge separating the interior from the exterior.

    Answer

    boundary

  22. 22
    A path-following method forms a penalized objective by combining the cost with a barrier, scaled by a parameter
    _____
    .
    Hint

    The talk uses a single parameter that increases as the method follows the path.

    Answer

    t

  23. 23
    The curve traced by the minimizers of the penalized objective as its parameter changes is called the
    _____
    .
    Hint

    It is the path followed from a central point toward an optimum.

    Answer

    central path

  24. 24
    At the start of the path-following process, when the parameter is zero, minimizing the barrier places the method near a
    _____
    of the polytope.
    Hint

    This location is intended to stay away from the polytope's boundary.

    Answer

    center

  25. 25
    As the path parameter grows, the method places increasing emphasis on minimizing the
    _____
    relative to the barrier.
    Hint

    This is the original objective being optimized.

    Answer

    cost

  26. 26
    In a Newton step, the method uses the inverse of the
    _____
    together with the gradient to determine a direction.
    Hint

    This matrix contains second derivatives of the objective.

    Answer

    Hessian

  27. 27
    For the interior point methods discussed, solving a linear program is reduced to repeatedly solving
    _____
    .
    Hint

    These algebraic problems arise from the Hessian and gradient calculations.

    Answer

    linear systems

  28. 28
    The foundational iteration bound for one family of linear programming methods was proportional to the square root of the number of
    _____
    .
    Hint

    These are the inequalities that define the feasible region.

    Answer

    constraints

  29. 29
    A result based on the universal barrier gives an iteration bound proportional to the square root of the
    _____
    .
    Hint

    The bound depends on the number of coordinates in the optimization space.

    Answer

    dimension

  30. 30
    The universal barrier is defined using volumes of polars and
    _____
    .
    Hint

    These are the convex regions defined by the linear constraints.

    Answer

    polytopes

  31. 31
    A data structure for an interior point method can exploit the fact that many successive linear systems share
    _____
    .
    Hint

    The systems are related rather than entirely unrelated instances.

    Answer

    structure

  32. 32
    To make a root-d iteration method nearly linear, the cost of maintaining information across iterations must be reduced rather than simply reducing the
    _____
    count.
    Hint

    This is the number of repeated steps performed by the optimization method.

    Answer

    iteration

  33. 33
    An interior point method may need to track how far its current point is from every
    _____
    of the polytope.
    Hint

    Each such condition defines one of the half spaces bounding the feasible region.

    Answer

    constraint

  34. 34
    A central data structure challenge is to maintain distance information for many constraints in less time than checking every constraint, or in
    _____
    time.
    Hint

    The desired cost is smaller than the time needed to scan the full set.

    Answer

    sublinear

  35. 35
    The movement of a point can be measured by the
    _____
    norm of its change when analyzing how constraint distances vary.
    Hint

    This norm measures the square root of the sum of squared coordinates.

    Answer

    L2

  36. 36
    Even when the point moves, the total amount of change in its distances to constraints can be bounded, which enables amortized
    _____
    .
    Hint

    The data structure must keep its stored information up to date over time.

    Answer

    maintenance

  37. 37
    A count sketch can be used to identify coordinates that contain a sufficiently large share of a vector's
    _____
    norm.
    Hint

    The sketch finds unusually large entries relative to this measure of the whole vector.

    Answer

    L2

  38. 38
    To find changes of different magnitudes, the data structure can apply sketches at multiple
    _____
    .
    Hint

    The method checks thresholds corresponding to different sizes of change.

    Answer

    scales

  39. 39
    A sketch's recovery guarantee can fail when its random choices depend on the input being sketched; this is the issue of an
    _____
    input.
    Hint

    The input may respond to earlier outputs of the data structure.

    Answer

    adaptive

  40. 40
    One way to handle adaptive inputs is to detect changes above a larger threshold and then verify the reported coordinates using the original
    _____
    .
    Hint

    This is the uncompressed input from which the sketch was constructed.

    Answer

    matrix

  41. 41
    Sketching can help maintain information about a linear program over time even when the program cannot be reduced to a smaller static version by simply
    _____
    its constraints.
    Hint

    This would mean replacing the input with a smaller sparse approximation.

    Answer

    sparsifying

  42. 42
    In the decremental matching problem discussed, updates consist of
    _____
    from a bipartite graph.
    Hint

    The graph only loses edges as the algorithm proceeds.

    Answer

    edge deletions

  43. 43
    A matching is a subset of graph edges in which no vertex is incident to more than
    _____
    selected edge.
    Hint

    A matched vertex can be paired with at most one other vertex.

    Answer

    one

  44. 44
    A matching is called one-minus-epsilon approximate when its size is at least that fraction of the size of a
    _____
    matching.
    Hint

    This matching has the largest possible number of edges in the graph.

    Answer

    maximum

  45. 45
    A fractional matching assigns non-negative values to edges while ensuring that the total value on edges adjacent to any vertex is at most
    _____
    .
    Hint

    This is the capacity limit at each vertex.

    Answer

    one

  46. 46
    An approximate fractional matching is judged by the sum of its edge values compared with the size of a
    _____
    matching.
    Hint

    This is the largest integral matching in the graph.

    Answer

    maximum

  47. 47
    Fractional matchings can be viewed as convex combinations of ordinary
    _____
    .
    Hint

    These are edge sets in which no vertex is used more than once.

    Answer

    matchings

  48. 48
    A simple dynamic strategy computes a fractional matching initially and keeps using it until enough of its value has been removed by deleted
    _____
    .
    Hint

    These are the elements whose deletion makes the current fractional solution less useful.

    Answer

    edges

  49. 49
    A regularizer can encourage a fractional matching to spread its value across many edges rather than concentrate it on one
    _____
    solution.
    Hint

    A solution concentrated in one place may be easily disrupted by updates.

    Answer

    brittle

  50. 50
    The talk gives
    _____
    as a natural regularizer that encourages values to be spread across edges.
    Hint

    This quantity is often used to measure the spread or uncertainty of a distribution.

    Answer

    entropy

  51. 51
    With a suitable regularizer, the matching method needs to recompute its fractional solution only about
    _____
    times in the stated dependence.
    Hint

    The number of recomputations grows polynomially as the desired approximation becomes more precise.

    Answer

    one over epsilon squared

  52. 52
    The entropy-regularized fractional matching problem can be solved using algorithms for a broader class of
    _____
    optimization problems.
    Hint

    These problems include maximum flow as a special case.

    Answer

    flow

  53. 53
    Nearly linear-time maximum flow algorithms enabled faster solutions to some flow optimization problems, including the regularized matching
    _____
    .
    Hint

    This is the optimization task that chooses a suitable fractional matching.

    Answer

    problem

  54. 54
    Some dynamic matching algorithms first maintain
    _____
    matchings, then use a reduction to obtain ordinary matchings.
    Hint

    These solutions assign real-valued weights rather than selecting only whole edges.

    Answer

    fractional

  55. 55
    The maximum flow result discussed was the first algorithm for that problem with an
    _____
    runtime.
    Hint

    Its runtime is close to linear in the input size.

    Answer

    almost linear-time

  56. 56
    In some regimes, linear programs can be solved in time proportional to the number of nonzero entries plus a term depending on the
    _____
    .
    Hint

    This is the number of variables or coordinates in the optimization space.

    Answer

    dimension

  57. 57
    For a sufficiently tall input matrix with enough constraints relative to dimension, the linear programming runtime described simplifies to nearly linear time in the number of
    _____
    entries.
    Hint

    These are the entries that are not equal to zero.

    Answer

    nonzero

  58. 58
    A data structure can make the cost of maintaining information across a sequence of optimization steps lower
    _____
    than solving every step from scratch.
    Hint

    This cost is averaged across a series of operations.

    Answer

    amortized

  59. 59
    Some optimization methods are useful for approximately solving problems such as
    _____
    games.
    Hint

    In these games, one player's gain corresponds to the other's loss.

    Answer

    zero-sum

  60. 60
    For minimizing a convex function with only a subgradient oracle, data structures can support efficient
    _____
    algorithms.
    Hint

    These algorithms perform multiple computations at the same time.

    Answer

    parallel

  61. 61
    Dynamic algorithm research also studies conditional
    _____
    to identify limits on how efficiently certain problems can be solved.
    Hint

    These results give evidence that faster algorithms may be impossible under certain assumptions.

    Answer

    hardness

  62. 62
    In one dynamic maximum flow result, an algorithm could identify when the maximum flow value crossed a threshold without maintaining the maximum flow itself to high
    _____
    .
    Hint

    This refers to how precisely the maintained solution matches the exact value.

    Answer

    accuracy

1 of 62
Question 1 of 62

Ask anything

We've read this whole study set, so questions about it get the best answers.

FlashcardsQuizFill in the blanksWritten testLessonNotesPodcastContent