Dmitry Halai

Sorting Algorithms

Hi! As I mentioned earlier, I decided to recall some fundamental knowledge. In this article, I'd like to share with you the difference between sorting algorithms. I know, that it can be very simple, but how many times do you think about it? We all use it very often (for

Union-Find algorithms in Ruby

It’s always interesting to learn something new, especially if it’s fundamental knowledge. Recently I have found a very interesting course about algorithms. Lectures are meaningful and practical. I recommend them to everyone who wants to understand basic algorithms. All algorithms are implemented in Java, but I decided to

Five programming problems every Software Engineer should be able to solve in less than 1 hour

I have found an interesting post about interviewing recently. Actually, I don’t really like this categorical approach. But there are my solutions have been written in Ruby. Problem 1 Write three functions that compute the sum of the numbers in a given list using a for-loop, a while-loop, and

Dmitry Halai © 2026