Skip to content

Week 6 Exam Solutions #8

@varmichelle

Description

@varmichelle

quiz:
mud puddles

bessie slows down

  • sort list into list of t's and list of d's, then at each step just check the first one of each list, slow down appropriately

tea time

  • transitive closure / connectivity
  • for cow i
    for cow j
    for neighbor cows k
    if i knows k and j and k, then i knows j

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