Algorithms → Linked list types - singly linked, doubly linked and circular
Типы связанного списка, алгоритм
There are three common types of linked list.
- Single linked list
- doubly linked list
- Circular linked list
Single linked list
This is the most common. Each node has data and a pointer to the next node.
Where the address of …
Algorithms → Linked list
алгоритм, связанный список, сортировка
In this tutorial, you will learn about the linked list and its applications. You will also learn how to create and perform various linked list operations.
In the Treasure Hunt game, you start by looking for the first clue. When …
Algorithms → Stack
Stack concept
The stack is a useful data structure in programming. It's like a stack of plates stacked on top of each other.
Think about what you can do with such a bunch of plates:
- Put a new plate on …
Algorithms → Merge Sort Algorithm
алгоритм, сортировка слиянием, Merge Sort Algorithm, сортировка
Merge sort is a kind of divide and conquer algorithm in computer programming. It is one of the most popular sorting algorithms and a great way to build confidence in building recursive algorithms.
Divide and Conquer Strategy
Using the Divide …
Algorithms → Selection sorting algorithm
алгоритм, сортировка методом выбора, Selection sort algorithm, сортировка
The selection sort algorithm starts by comparing the first two elements of an array and replacing them if necessary. For example, if you want to sort the elements of an array in ascending order and if the first element is …
Algorithms → Insertion sorting algorithm
алгоритм, сортировка, Sort Algorithm
This description is intended to help you understand what the insertion sort algorithm is and how to implement it in programming.
Technical details, properties, and comparison with other sorting algorithms are out of the question here. If you know what …
Algorithms → Bubble sort algorithm
The bubble sort algorithm starts by comparing the first two elements of an array and replacing them if necessary. For example, if you want to sort the elements of an array in ascending order and the first element is greater …
- Last comments
- AKApril 1, 2025, 11:41 a.m.Добрый день. В данный момент работаю над проектом, где необходимо выводить звук из программы в определенное аудиоустройство (колонки, наушники, виртуальный кабель и т.д). Пишу на Qt5.12.12 поско…
- VPMarch 9, 2025, 4:14 p.m.Здравствуйте! Я устанавливал Qt6 из исходников а также Qt Creator по отдельности. Все компоненты, связанные с разработкой для Android, установлены. Кроме одного... Когда пытаюсь скомпилиров…
- ИМNov. 22, 2024, 9:51 p.m.Добрый вечер Евгений! Я сделал себе авторизацию аналогичную вашей, все работает, кроме возврата к предидущей странице. Редеректит всегда на главную, хотя в логах сервера вижу запросы на правильн…
- Now discuss on the forum
- fFeb. 15, 2025, 1:46 p.m.Подскажите, пожалуйста! Как данный класс можно дополнить, чтобы созданные объекты можно было перемещать мышкой по сцене?
- Не запускается компьютер (точнее работает блок , но сам монитор вообще жесть)В общем я ничего с интернета не скачивала в последнее время. На компе никаких левых пр…
- Вопрос решен. Узнать QModelIndex элемента на который мы перетаскиваем другой элемент, можно с помощью функции indexAt(event->position().toPoint()) представления QTreeViev вызываемой в переопр…
- Спасибо большое за помощь и простите за то что отнял время своей невнимательностью.