Git Product home page Git Product logo

140123sk2's Introduction

Summary

This project is a chrestomathy to solve the following problem: Find the two consecutive "palindroms times" with the biggest time difference. Examples of palindrom times are 00:00 or 10:01; these two are not consecutive because, for example, 05:50 is in between. (We should also be careful to observe that the last palindrom time during a given day is followed by the first palindrom time during the next day.)

Solution

It happens that the solution is ambigious:

  • 05:50 -- 10:01
  • 15:51 -- 20:02

The difference is 251 minutes in both cases.

The repo's name

On 23 January 2014, the SK2 bar https://www.facebook.com/pages/SK-2-Koblenz/218332751553007, used the problem in a quiz. (Folks were not expected to write a program, but it's fun anyhow to code things up. Finding the valid solution can easily be done with exhaustive human-based search, as there is not even one palindrom for each hour.)

140123sk2's People

Contributors

rlaemmel avatar sasel avatar

Watchers

James Cloos 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.