Cristian Prieto

IDisposable Thoughts

Honey, where's my coding t-shirt?

Data structures, Binary trees, depth-first traversal

Ok, now we have a very simple class to make a binary tree structure and we can easily represent a tree with it, now what? well, now we are going to learn about the different ways to traverse such tree, or well, visit all the nodes in the tree. While …

10 September 2020 on theory, data structures, kotlin, algorithm 4 minutes reading

Data structures, Binary trees

So far we had seen linear structures, linked list, queues, stack, arrays, all of them are linear data structures with well defined operations. Trees are our first non-linear data structure and, as the name says, they are data structures that looks like a tree (or an inverted tree).

Each element …

09 September 2020 on theory, data structures, kotlin, algorithm 3 minutes reading

Data structures, Hash tables

Well, time to go back to data structures. So far we had seen queues, stacks and linked lists and assumed you are already familiar with arrays and vectors we can move to the next linear data structure in the list of basic structures that we should know, the amazing hash …

07 September 2020 on theory, data structures, kotlin, algorithm 8 minutes reading

Data structures, Bucket sort

I promise this is the last sorting algorithm (for now)! and this time we have another non comparisson sorts (or well, not exactly but I will explain later). Bucket sort is pretty much as it sounds, putting things into buckets of data that are in an specific order. The idea …

04 September 2020 on theory, data structures, kotlin, algorithm 4 minutes reading

Data structures, Radix sort

We return with another special sorter, last time we saw counting sort to sort a collection of repeated small limited number of ordinal discrete types and I mentioned its usage and how it can be extremely useful to sort such things. There are a few problems with our counting sort …

03 September 2020 on theory, data structures, kotlin, algorithm 6 minutes reading
  • Newer posts
  • Older posts

Powered by Pelican | Cristian Prieto © 2020