Welcome to Rustam's Blog


  • Home

  • Categories

  • About

  • Archives

  • Tags

  • Search

Algorithms, Medians and Order Statistics

Posted on 2018-07-29 | In Algorithms |

The i th *order statistic of a set of n elements is the i th smallest element. Simply saying the minimum of a set of elements is the first order statistic (i = 1) and maximum is the nth order statistic (i = n). Median is the informally considered as a “halfway point” of the set.

Read more »

Algorithms, Insertion Sort

Posted on 2018-07-29 | In Algorithms |

Insertion sort, which is an efficient algorithm for sorting a small number of elements. Insertion sort works the way many people do it by hand while playing a card game (Though personally i would not sort the cards while playing, because there are too many skill-full guys, who may take an advantage of it)

Read more »

Algorithms, Heap Sort

Posted on 2018-07-29 | In Algorithms |

The (binary) heap data structure is an array object that we can view as a nearly complete binary tree. A complete binary tree is a binary tree in which every level, except possibly the last, is completely filled, and all nodes are as far left as possible.

Read more »

Algorithms, Divide-and-conquer

Posted on 2018-07-29 | In Algorithms |

In a paradigm of divide-and-conquer we solve the problem recursively, applying three basic steps at each level of the recursion:

Read more »

Hackerrank, Swap Nodes[Algo]

Posted on 2018-07-24 | In Competitive Programming |

It has been such a long time since I didn’t work on graphs and trees. Here it is I’m back. This task is quite a simple one even though it is assigned a medium level of difficulty. The original task definition is given hackerrank.

Read more »

Hackerrank, Minimum Loss

Posted on 2018-06-25 | In Competitive Programming |

Here another weird problem given by hackerrank, though It was fun to solve this problem as well. This problem is good example of importance of understanding the given task. Sometimes it may have a straight logic from the definition of the task. Why is the Lauren wants to sell the houses and make a loss, not profit. Isn’t the profit is main purpose of any business, so guys be careful when reading the definition of the task.

Read more »

Hackerrank, Nimble Game

Posted on 2018-05-28 | In Competitive Programming |

Original definition of the problem is given at hackerrank. In order to avoid copyright related issues, I would like to not keep the definition of the problem in here.

Read more »

Hackerrank, 3D Surface Area

Posted on 2018-05-28 | In Competitive Programming |

Original definition of the problem is given at hackerrank. In order to avoid copyright related issues, I would like to not keep the definition of the problem in here.

Read more »

Codility, Stone Wall

Posted on 2018-05-26 | In Competitive Programming |

Task description

You are going to build a stone wall. The wall should be straight and N meters long, and its thickness should be constant; however, it should have different heights in different places. The height of the wall is specified by an array H of N positive integers. H[I] is the height of the wall from I to I+1 meters to the right of its left end. In particular, H[0] is the height of the wall’s left end and H[N−1] is the height of the wall’s right end.

Read more »

DDD Introduction and Main Concepts

Posted on 2018-05-20 | In DDD |

What is Domain Driven Design (DDD) ?

Read more »
1 … 9 10 11
Rustam Rakhimov Igorevich

Rustam Rakhimov Igorevich

105 posts
52 categories
98 tags
RSS
© 2026 Rustam Rakhimov Igorevich
Powered by Jekyll
Theme - NexT.Muse