• Graph - data structures #5

    data structure adjacency list on YouTube

    Continuing the data structures, in this article I will write about graphs. These structures can be used in a big variety of applications. For implementation I will use an adjacency list approach, but in the introduction I also talk about the adjacency matrix version. Apart from the implementation I write (and talk) about the theory and real life usages of graphs.

  • Which string to int conversion method is the fastest

    conversion speed experiment C#

    Using conversion methods in any language is a fundamental part of every task, even small ones. If we have to use them often, in some cases performance is a key point (it’s always important, but there are more important cases). So the question is, which conversion method is the fastest?

  • Stack - data structures #4

    data structure on YouTube C#

    In this article I’m going to show you how to create a self-made stack data structure – which is a fundamental part of programming – with an array (or list) representation in the inside.

  • Creating basic PHP API endpoint

    PHP API JSON

    The modern web standard(s) is the era of APIs and microservices. This article is about a mini project to show how to create a PHP API endpoint which returns JSON data object. Thus backend and frontend can be separated firmly. For the backend we will check three rather different client implementations (C# console application, C# WPF application and VueJS application). We will only use and cover GET requests, so requesting data from the API.

  • Delegates inside queue data structure

    delegate data structure on YouTube

    In this article I’m going to show you how to create a self-made queue data structure and how you can use it to store method references inside, which then can be invoked one-by-one, creating a call sequence.

  • Queue - data structures #3

    data structure on YouTube

    In this article I’m going to show you how to create a self-made queue data structure – which is a fundamental part of programming – with an array (or list) representation in the inside.

  • Indexing linked list node directly

    data structure on YouTube

    In this article I’m going to show you why we can’t use indexing function by default on self made linked lists. What is the theoretical problem with indexing, and how can we solve it in two ways – using only self-made components.

  • Using external logic inside datastructures

    data structure on YouTube delegate

    Using binary search tree with traversal logic injected from the outside. Datastructures should not depend on any hardcoded logic. It is important because otherwise moving the structures from a console application to a WPF application would be impossible. Depentency injection is an important terminology in programming.

  • BSTree - data structures #2

    data structure on YouTube

    In the data structures series the next contestant will be the Binary Search Tree. Interestingly in some cases it’s similar to a linked list, and in other cases it’s similar to a graph. Both similarities are correct. In this article I write about these in detail, and I also cover what problem can we have in a BSTree called unbalanced tree.

  • Linked list - data structures #1

    data structure on YouTube

    Creating a linked list data structure from scratch, using generic types to be more flexible with the usage of the list. In this article I write about the base concept of a linked list and what are the advantages / disadvantages compared to the array. Why generic type is a must in the data structures. What linked list types can we differentiate.