Coder Social home page Coder Social logo

codility's Introduction

Codility

Build Status License: MIT

Read in Українська

This repo holds solved coder problems which I did out of curiosity, at the process of interview preparation, or even during the interview. Each algorithm has at least Java implementation and additionally can have Haskell or Kotlin.

Exists a vast amount of methods to group algorithms. My way is based on InterviewBit and Hackerrank

Some tasks have additional README which shows alternative solving methodologies, interesting things about the task or applied usage of it.

Preparing for an interview?

DSA is mostly recalled just before (or even at the time) an interview. If you have to prepare ASAP, I would suggest solving a few problems from each section on InterviewBit or hackerrank. This will warm you up, or give a fast overview of available methods of problems solving. When you're done with that, you can continue there or switch to leetcode, e-olymp etc.

Environment

  • Java/javac - openJDK 11.0.1
  • ghci (haskell runtime) - ghci version 8.2.2
  • Kotlin/kotlinc - Kotlin version 1.3.21

How to Run?

Java

build: javac *.java

run: java filename

Kotlin

build: kotlinc *.kt -include-runtime -d output_file.jar

run: java -jar output_file.jar

Haskell

build: ghc -o output_file input_file.hs

run: ./output_file

Bulk

The scripts folder, from the root dir, contains:

java_run.sh - build and run for all Java files.

kotlin_run.sh - build and run for all Kotlin files.

haskell_run.sh - build and run for all Haskell files.

clean.sh - clean the output directory.

Each script can have a single parameter which acts as a filter:

java_run.sh bubble - build and run all Java files, which have bubble in a path or a file name.

codility's People

Contributors

yaroslavhavrylovych avatar

Stargazers

 avatar Eugene Filimonov 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.