/codility-challenges

My successful attempts of Codility Challenges

Primary LanguageJava

CodilityChallenges

My successful attempts of the Codility Challenges, newest to oldest.

You can view my source code of performing several codility challenges. I will publish all of my successful attempts here, so you can have a look in case you will be stuck. Below you can find a complete list with links to the detailed description as well as to the full solution report. In the sources there is source code for all the attempts listed below, together with test cases that I have used for the verification that it works properly.

Summary

golden award 5 Golden Awards

silver award 5 Silver Awards

Awards

  • silver award October 2019 - Technetium 2019 Challenge (SILVER AWARD - 77%)

    MaxPathFromTheLeftTopCorner

    Find a maximal value path in a matrix, starting in the top-left corner and ending in the bottom-right corner.

  • golden award July 2019 - Molybdenum 2019 Challenge (GOLDEN AWARD - 100%)

    LeaderSliceInc

    Given an array, find all its elements that can become a leader, after increasing by 1 all of the numbers in some segment of a given length.

  • silver award May 2019 - Niobium 2019 Challenge (SILVER AWARD - 65%)

    FlippingMatrix

    A matrix of binary values is given. We can flip the values in selected columns. What is the maximum number of rows that we can obtain that contain all the same values?

  • golden award January 2019 - Strontium 2019 Challenge (GOLDEN AWARD - 100%)

    ConcatenatingOfWords

    Concatenate the given words in such a way as to obtain a single word with the longest possible substring composed of one particular letter.

  • silver award December 2018 - Rubidium 2018 Challenge (SILVER AWARD - 92%)

    SheepAndSunshades

    Given a set of points on a cartesian plane, find the minimum distance between some pair of them to maximise another metric.

  • golden award October 2018 - Krypton 2018 Challenge (GOLDEN AWARD - 100%)

    MinTrailingZeros

    Find a path in given matrix, such that the product of all the numbers on the path has the minimal number of trailing zeros.

  • golden award October 2018 - Bromum 2018 Challenge (GOLDEN AWARD - 100%)

    Buckets

    Given N buckets and M colored balls to put in them, find the earliest moment when some bucket contains Q balls of the same color.

Other challenges solved (not awarded)