Giter VIP home page Giter VIP logo

interviewbit's Introduction

InterviewBit

InterviewBit problems and C++ solutions collection in HTML5

Live demo

https://joric.github.io/interviewbit

3rd-party libs

  • Marked for the client-side Markdown rendering
  • Prism for the client-side C++ highlighting

No jQuery or React or Vue, all in Vanilla JavaScript.

Usage

  • ESC or Ctrl+F - toggle expand / collapse
  • โ†’ - next problem
  • โ† - previous problem

You also can run index.html without a server:

  • Chrome: use --allow-file-access-from-files command line option
  • Firefox: about:config, security.fileuri.strict_origin_policy=false
  • Edge: works with default settings

For editing Markdown files locally I recommend Markdown Viewer (Chrome plugin).

Copyrights

All possible copyrights belong to https://www.interviewbit.com

This is probably the most complete offline collection up to date (~300 documents).

No web scraping involved, everything is rewritten and/or solved by my bare hands.

(Got to 5th place!)

References

interviewbit's People

Contributors

joric avatar thecelestial25 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

interviewbit's Issues

incorrect solution Triplets with Sum between given range

https://github.com/joric/interviewbit/blob/master/programming/arrays/triplets-with-sum-between-given-range.md

This approach is not correct. Removing either the smallest or greatest number (based on condition) will not work.
Think about this case -

[ "0.6", "0.1", "0.2", "1.5" ]

first 3 num sum => 0.6 + 0.1 + 0.2 = 0.9 < 1 then we will remove the smallest one which is 0.1 and relace it with current number which os 1.5
Now the sum is => 0.6 +. 0.2+ 1.5 = 2.3 > 2
but here -> "0.6" + "0.2" + "1.5" is a valid triplet.

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.