Graphs (8g): Adjacency List

Поделиться
HTML-код
  • Опубликовано: 13 сен 2024

Комментарии • 1

  • @octavio.anino.1626
    @octavio.anino.1626 2 года назад +1

    Line 18 in the adjacency list implementation is amazing.
    Creating a new key-value pair using just square bracket operators, and then initializing the value to an empty vector using just a pair of empty curly brackets.
    C++ is great.