Code Monkey home page Code Monkey logo

puzzlesv2's Introduction

Puzzle 1 - Count rows of a csv file

The csv-sample.csv has 1024 rows and you can verify this by opening it in Excel. If you open the file using a plain text editor such as notepad, you will notice that it has 1028 lines.

Write a script with one of the following languages to count rows in a csv file. Your script must read csv-sample.csv and count csv rows to return a result of 1024.

  • PowerShell
  • Bash
  • Python

You may also choose to write a console program in C# and .NET Core instead of writing a script.

What to submit: All your source code in a single file (text or word)

Puzzle 2 - Build a Docker Image

Create a (linux) docker image with Web API which returns your name and email address.

Sample docker image can be found at seyongo/whoami

Try the sample.

docker pull seyongo/whoami:latest
docker run -it --rm -p 8080:80 --name sample seyongo/whoami:latest

Browse http://localhost:8080/api/email and see what it returns.

{
    "displayName":"Se Yong Oh",
    "emailAddress":"[email protected]"
}

Create your own docker image which returns your name and email address, then publish it to Dockerhub.

Note: If you’re concerned about privacy, you may choose to return a fake name and email address.

What to submit: A text file including the link to your own dockerhub image.

Puzzle 3 - Padlock

Please attempt this challenge and submit even if you only have a partial answer, we are keen to see your approach.

Write a code in a programming language of your choice to solve the following puzzle.

Sample Puzzle 1

padlock-puzzle1.png

Sample Puzzle 2

padlock-puzzle2.png

What to submit: A word file including your source code with explanation. See example.

puzzlesv2's People

Contributors

dumok-git avatar seyongo 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.