mafulechka
Aug. 15, 2019, 2:22 p.m.

AlgorithmsDijkstra's algorithm

Дерево, Алгоритм, Tree

Dijkstra's algorithm allows us to find the shortest path between any two vertices in a graph.

It differs from a minimum spanning tree in that the shortest distance between two vertices may not include all vertices in the graph.


How …

Read
mafulechka
Aug. 2, 2019, 2:28 p.m.

AlgorithmsDynamic programming

Дерево, Tree, Алгоритм

Dynamic programming is a computer programming technique that helps to efficiently solve a class of problems that have overlapping subproblems and optimal substructure properties.

Such problems include repeatedly calculating the value of the same subproblems to find the optimal solution. …

Read
mafulechka
July 29, 2019, 12:57 p.m.

AlgorithmsAlgorithm Prima

Дерево, Алгоритм, Tree

Prim's algorithm is a minimum spanning tree algorithm that takes a graph as input and finds a subset of the edges of that graph that forms a tree that includes each vertex and also has the minimum sum of weights …

Read
mafulechka
July 25, 2019, 2 p.m.

AlgorithmsKruskal's algorithm

Дерево, Алгоритм, Tree

Kruskal's algorithm is a minimum spanning tree algorithm that takes a graph as input and finds a subset of that graph's edges that forms a tree that includes each vertex and also has the minimum sum of weights among all …

Read
mafulechka
July 16, 2019, 3:03 p.m.

AlgorithmsBreadth first search (BFS)

Tree, Алгоритм, Дерево

Travel means visiting all nodes of the graph. Breadth first traversal or Breadth first Search is a recursive algorithm for searching all vertices of a graph or tree data structure. In this article, you will see examples of the BFS …

Read
mafulechka
July 15, 2019, 1:37 p.m.

AlgorithmsAdjacency matrix

Алгоритм, матрица, Matrix, Graph

Adjacency Matrix is a way of representing a graph G = {V, E} as a Boolean matrix.


Representation of adjacency matrix

The size of the matrix is VxV, where V is the number of vertices in the graph, and the …

Read
mafulechka
July 1, 2019, 2:22 p.m.

AlgorithmsAdjacency list

Tree, Дерево, Алгоритм

Adjacency List represents a graph as an array of linked list.


The array index represents a vertex and each element in its linked list, and also represents other vertices that form an edge with the vertex.

Representing adjacency list

The …

Read
mafulechka
June 17, 2019, 11:45 a.m.

AlgorithmsDFS (Depth-first search) algorithm

Tree, Дерево, Алгоритм

Travel means visiting all nodes of the graph. Depth Traversal or Depth First Search is a recursive algorithm for finding all the vertices of a graph or tree data structure. In this article, with the help of the examples below, …

Read
mafulechka
June 7, 2019, 2:34 p.m.

AlgorithmsGraph. Data structure.

Tree, Алгоритм, Дерево

The graph data structure is a set of nodes that have data and are connected to other nodes.


Let's try to understand this with an example. On facebook, everything is a node. This includes user, photo, album, event, group, page, …

Read
mafulechka
June 5, 2019, 2:04 p.m.

AlgorithmsBinary Search Tree (BST)

Дерево, Tree, Алгоритм

Binary search tree is a data structure that allows you to maintain a sorted list of numbers.

  • A binary (binary) tree is called because each tree node has a maximum of two child elements.
  • A search tree because it can …
Read
  • Last comments
  • AK
    April 1, 2025, 11:41 a.m.
    Добрый день. В данный момент работаю над проектом, где необходимо выводить звук из программы в определенное аудиоустройство (колонки, наушники, виртуальный кабель и т.д). Пишу на Qt5.12.12 поско…
  • Evgenii Legotckoi
    March 9, 2025, 9:02 p.m.
    К сожалению, я этого подсказать не могу, поскольку у меня нет необходимости в обходе блокировок и т.д. Поэтому я и не задавался решением этой проблемы. Ну выглядит так, что вам действитель…
  • VP
    March 9, 2025, 4:14 p.m.
    Здравствуйте! Я устанавливал Qt6 из исходников а также Qt Creator по отдельности. Все компоненты, связанные с разработкой для Android, установлены. Кроме одного... Когда пытаюсь скомпилиров…
  • ИМ
    Nov. 22, 2024, 9:51 p.m.
    Добрый вечер Евгений! Я сделал себе авторизацию аналогичную вашей, все работает, кроме возврата к предидущей странице. Редеректит всегда на главную, хотя в логах сервера вижу запросы на правильн…
  • Evgenii Legotckoi
    Oct. 31, 2024, 11:37 p.m.
    Добрый день. Да, можно. Либо через такие же плагины, либо с постобработкой через python библиотеку Beautiful Soup