Codility News: 7th Golden Award this year for me

Current Codility challenge is called Gallium 2018 and again I managed to make a solution that is awarded with a Golden Award. This one was a very interesting brain puzzle for me and it took me a white to figure it out.

Gallium2018Performance.png

The challenge ends tomorrow so if you like to try it by yourself these are the requirements.Read More »

Advertisements

Using free theater tickets can be such a tough decision – this algorithm is here to tell you how many different options you have

Kate is a girl that was given  a very nice birthday gift – three theater tickets. She can pick three performances in the next N days that she would like to attend.  On the program, performances are named by integers. Every day, one performance is staged. Kate wants to choose three days (not necessarily consecutive) to go to the theater.

In how many ways can she use her tickets?

Matrix.jpg

Briefly that was the task in the Zinc 2018 Challenge on the Codility platform, sixth challenge that was published this year and sixth Golden Award for my solution.Read More »

A story about a real struggle with an algorithm

I don’t have that much of a free time but from the one I have I try to make the most of it, and I think that is very important to have quality hobbies. For some people that is crossword puzzles, for some is reading books, for me that is running and from this year I’m taking participation in Codility Coding Challenges as well.

pcthinking.jpg
In this post I would like to share my experience with the latest Codility challenge – Cuprum 2018. Read More »

Golden Hat-Trick, another Award for my Nickel 2018 solution

This was the third Codility Challenge this year and for the third time I’m getting Golden Award for my solution. After the Ferrum 2018 and Cobaltum 2018, this award is for the current challenge Nickel 2018. This time I got the solution in my head as soon as I read the assignment and I was doing that while holding a screaming baby in my hand and my 2-year old was destroying the living room in the background. With this task I felt like I wasn’t challenged properly.

Nickel2018GoldenAward.png

Also I didn’t need to solve this in Visual Studio which is the environment that I’m used to and I use to solve these challenges.
Read More »

Second Codility Challenge – Second Golden Award for me this year

Last week, I tried to solve the second Codility Challenge for this year called Cobaltum 2018. Same as the previous one, Ferrum 2018,  my solution was awarded with the Codility Golden Award. From every other that I did before, this seemed to be the easiest one (or maybe that is just relative perception) although I lost some time to figure out the proper solution that will be elegant and handles the edge cases at the same time.

Cobaltum2018_GoldenAward.png

This time I will not give details about the Codility Challenges, but if you like to have brief intro about how that works you can find out more in my previous article about the Ferrum 2018 challenge or check my Lazy Propagation Segment Tree implementation. Read More »

Golden Award for my Ferrum 2018 solution

From time to time I like to solve interesting algorithmic problems and a while ago I discovered Codility and their challenges. This time the active challenge is called Ferrum 2018 and I managed to get the Golden Award recognition which means that I solved the problem with optimal code execution time and memory complexity.

CodilityGoldenAward

If you like this kind of programming brain teasers you should try to get an award for this one. There are way more complex problems on Codility (for example the Chromium 2017 was one of the more demanding ones, at least for me) but let me give you brief introduction about the awards and the Ferrum 2018 challenge.Read More »