GithubHelp home page GithubHelp logo

jonasraoni / codility Goto Github PK

View Code? Open in Web Editor NEW
108.0 10.0 76.0 37 KB

My solutions to exercises and tests at http://codility.com.

Home Page: http://raoni.org/

License: MIT License

C# 100.00%
codility codility-solutions codility-lessons codility-training codility-100 csharp codility-lessons-exercises codility-challenges codility-exercises codility-csharp

codility's Introduction

C# Codility Solutions


My C# solutions to the Codility tasks at https://codility.com/programmers/lessons/

Almost all of the tasks were straightforward and the available time was more than enough, but few took me more than the 120min to reach 100% ._.

These are my own implementations. As I enjoy small and concise codes, whatever doesn't fit in this rule means that I had problems. Until now, there's one code in this category :)

Lesson 1 - Iterations

BinaryGap Problem Statement Solution

Lesson 2 - Arrays

OddOccurrencesInArray Problem Statement Solution
CyclicRotation Problem Statement Solution

Lesson 3 - Time Complexity

PermMissingElem Problem Statement Solution
FrogJmp Problem Statement Solution
TapeEquilibrium Problem Statement Solution

Lesson 4 - Counting Elements

MissingInteger Problem Statement Solution
PermCheck Problem Statement Solution
FrogRiverOne Problem Statement Solution
MaxCounters Problem Statement Solution

Lesson 5 - Prefix Sums

PassingCars Problem Statement Solution
CountDiv Problem Statement Solution
MinAvgTwoSlice Problem Statement Solution
GenomicRangeQuery Problem Statement Solution

Lesson 6 - Sorting

Distinct Problem Statement Solution
MaxProductOfThree Problem Statement Solution
Triangle Problem Statement Solution
NumberOfDiscIntersections Problem Statement Solution

Lesson 7 - Stacks and Queues

Brackets Problem Statement Solution
Fish Problem Statement Solution
StoneWall Problem Statement Solution
Nesting Problem Statement Solution

Lesson 8 - Leader

EquiLeader Problem Statement Solution
Dominator Problem Statement Solution

Lesson 9 - Maximum slice problem

MaxSliceSum Problem Statement Solution
MaxProfit Problem Statement Solution
MaxDoubleSliceSum Problem Statement Solution

Lesson 10 - Prime and composite numbers

MinPerimeterRectangle Problem Statement Solution
CountFactors Problem Statement Solution

Lesson 11 - Sieve of Eratosthenes

CountSemiprimes Problem Statement Solution

Others

FindTime Problem Statement Solution
SortingGroups Problem Statement Solution

codility's People

Contributors

jonasraoni avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.