www.martinkysel.com Open in urlscan Pro
46.229.238.185  Public Scan

URL: https://www.martinkysel.com/codility-solutions/
Submission Tags: falconsandbox
Submission: On February 23 via api from US — Scanned from DE

Form analysis 1 forms found in the DOM

GET https://www.martinkysel.com/

<form method="get" id="searchform" action="https://www.martinkysel.com/" role="search" data-hs-cf-bound="true">
  <label for="s" class="assistive-text">Search</label>
  <input type="text" class="field" name="s" id="s" placeholder="Search …">
</form>

Text Content

MARTINKYSEL.COM


CODE MADE HUMAN


MENU

Skip to content
 * Home
 * Codility Solutions
 * HackerRank Solutions
 * About




CODILITY SOLUTIONS

On this page I am sharing my solutions to the codility.com problem sets. They
can be found here. Enjoy and share your comments!


1) TIME COMPLEXITY

 * TapeEquilibrium [painless]✓
   
 * FrogJmp [painless]✓
 * PermMissingElem [painless]✓


2) COUNTING ELEMENTS

 * PermCheck [painless]✓
 * FrogRiverOne [painless]✓
 * MaxCounters [respectable]✓
 * MissingInteger [respectable]✓


3) PREFIX SUMS

 * PassingCars [painless]✓
 * GenomicRangeQuery [respectable]✓
 * MinAvgTwoSlice [respectable]✓
 * CountDiv [respectable]✓


4) SORTING

 * Triangle [painless]✓
 * Distinct [painless]✓
 * MaxProductOfThree [painless]✓
 * NumberOfDiscIntersections [ambitious]✗


5) STACKS AND QUEUES

 * Brackets [painless]✓
 * Nesting [painless]✓
 * StoneWall [respectable]✓
 * Fish [respectable]✓


6) LEADER

 * Dominator [painless]✓
 * EquiLeader [painless]✓


7) MAXIMUM SLICE PROBLEM

 * MaxProfit [painless]✓
 * MaxSliceSum [painless]✓
 * MaxDoubleSliceSum [respectable]✓


8) PRIME AND COMPOSITE NUMBERS

 * MinPerimeterRectangle [painless]✓
 * CountFactors [painless]✓
 * Peaks [respectable]✓
 * Flags [ambitious]✗


9) SIEVE OR ERATOSTHENES

 * CountSemiprimes [painless]✓
 * CountNonDivisible [respectable]✓


10) EUCLIDEAN ALGORITHM

 * ChocolatesByNumbers [painless]✓
 * CommonPrimeDivisors [respectable]✓


11) FIBONACCI NUMBERS

 * FibFrog [respectable]✓
 * Ladder [respectable]✓


12) BINARY SEARCH

 * MinMaxDivision [respectable]✓
 * NailingPlanks [respectable]✓


13) CATERPILLAR METHOD

 * AbsDistinct [painless]✓
 * CountDistinctSlices [respectable]✓
 * CountTriangles [respectable]✓
 * MinAbsSumOfTwo [ambitious]✓


14) GREEDY ALGORITHMS

 * TieRopes [painless]✓
 * MaxNonoverlappingSegments [painless]✓


15) DYNAMIC PROGRAMMING

 * NumberSolitaire [respectable]✓
 * MinAbsSum [ambitious]✗


16) FUTURE TRAINING

 * BinaryGap [painless]✓
 * StrSymmetryPoint [painless]✓
 * OddOccurencesInArray [painless]✓
 * TreeHeight [painless]✓
 * CyclicRotation [painless]✓
 * ArrayInversionCount [respectable]✓


X) CHALLENGES

 * Kalium 2015 – SqlSegmentsSum
 * Argon 2015 – TrekAndSwim
 * Boron 2013 – Flags
 * Psi 2012 – Wire Burnouts
 * Chi 2012 – Cannon Balls
 * Sigma 2012 – StoneWall
 * Delta 2011 – MinAbsSum
 * Beta 2010 – NumberOfDiscIntersections
 * Alpha 2010 – PrefixSet

--------------------------------------------------------------------------------

Based on the Codility Terms of Service it is allowed to share training solutions
and solutions to past challenges.

8.1.  Any Task, statement or information on the Site (including Tests Sessions
and Test Session results) is confidential information. You agree not to:



(a)   disclose, publish or reproduce (including posting on any webpage or blog)
such information; or

(b)   disclose to others details of a recruitment Task, ongoing monthly
Challenge or ongoing competition Task (including details relating to its
completion).

8.2.  This clause does not apply to: Training section of Codility service,
Training Tasks and Past Challenges, their solutions and assessment results.


HOW TO REQUEST A MISSING SOLUTION

If you need help with a challenge I have not posted, feel free to reach out via
the Disqus comment system or the form below. If you fill out the form, I will
reach out to you once I have posted the solution.

As a personal principle, I do not post solutions to ongoing challenges. It will
get posted once the challenge is officially over.





Search


RECENT POSTS

 * HackerRank ‘Real Estate Broker’ Solution
 * HackerRank ‘Balanced Strings’ Solution
 * HackerRank ‘Majority’ Solution
 * Friend Circle Queries
 * HackerRank ‘Game of Maximization’ Solution


FOLLOW ME




ARCHIVES

 * May 2021 (2)
 * February 2021 (1)
 * January 2021 (2)
 * October 2020 (3)
 * August 2020 (5)
 * July 2020 (14)
 * May 2020 (5)
 * April 2020 (1)
 * March 2020 (2)
 * May 2019 (10)
 * April 2019 (2)
 * September 2018 (12)
 * August 2018 (1)
 * July 2018 (1)
 * May 2018 (1)
 * August 2016 (6)
 * July 2016 (3)
 * June 2016 (5)
 * May 2016 (2)
 * March 2016 (2)
 * February 2016 (4)
 * January 2016 (5)
 * August 2015 (3)
 * July 2015 (2)
 * June 2015 (9)
 * May 2015 (2)
 * April 2015 (12)
 * March 2015 (27)
 * February 2015 (6)
 * January 2015 (3)
 * December 2014 (12)
 * September 2014 (4)
 * August 2014 (17)
 * July 2014 (8)
 * June 2014 (3)
 * May 2014 (3)
 * March 2014 (1)


CATEGORIES

 * Coding Challenge (182)
   * Codility (56)
   * HackerEarth (1)
   * HackerRank (124)
     * BMSCE IEEE 24 Hour Code-a-thon (1)
     * cisco-icode (1)
     * Hack The Interview (1)
     * HackerRank HackFest 2020 (1)
 * Cognition (3)
   * Problem Solving (2)
 * Events (1)
 * NuoDB (7)
 * Opinion (1)
 * Programming (188)
   * C++ (17)
   * GoLang (1)
   * Misuse (1)
   * Php (1)
   * Python (168)
   * Rust (13)
 * Social (2)
 * Uncategorized (3)


RECENT COMMENTS

 * Ravindra Uplenchwar on HackerRank Solutions
 * Ravindra Uplenchwar on HackerRank Solutions
 * David Alcaraz on Codility ‘SqlSegmentsSum’ Kalium 2015 Solution
 * Slavcho on Codility ‘Distinct’ Solution
 * perfringo on Codility ‘BinaryGap’ Solution


BADGES


Copyright © 2022 MartinKysel.com - All rights reserved



Thank you for visiting. You can now buy me a coffee!