Code Monkey home page Code Monkey logo

challenge-x's Introduction

challenge-x

description

challenge solutions, containing only my code and thus only my 'intellectual' property. they may require 'stubs' from challenge providers to create complete working solutions - those are deliberately not included. the solutions are in the form of patches from my master 'challenge' repository (also not exposed) in a vein attempt of obfuscation

worth noting is that writing code that is easily portable code between my favoured c++/c#/javascript/python language set sometimes results in me deliberately not using language-specific idioms. the extent to which i do, is usually dependent upon which language the actual 'solution' (as opposed to subsequent port(s)) is written in ..which is determined by /dev/urandom generated randomness

this repository contains a heck of a lot of my programming faux-pas, but i've decided that it's healthy to expose my limits and one would hope i can only get better!

hackerrank

attempts

  • expert | 0
  • advanced | 3
  • hard | 15
  • medium | 61
  • easy | 219

incomplete

  • [algorithms|strings|advanced] ashton and string | 33.33/100
  • [algorithms|implementation|medium] forming a magic square | 0/20
  • [data structures|heap|hard] find the running median | 0/50
  • [algorithms|implementation|medium] the bomberman game | 20/40
  • [algorithms|implementation|medium] non-divisible subset | 9.33/20

hardest / favourite successes

  • [algorithms|search|hard] maximizing mission points | python solution
  • [algorithms|strings|medium] common child | python solution
  • [algorithms|strings|advanced] two two | c++ solution
  • [algorithms|sorting|easy] big sorting | c# port

'cheated'

  • [algorithms|implementation|medium] 3d surface area | convinced myself there was a bug. there wasn't :|

bugs

i refuse to 'work around' bugs like others have done, hard-coding results on a per broken test case basis in order to dishonestly achieve the maximum score. doing so means they'll never get fixed! i have raised the following bugs through the hackerrank 'suggestions' medium with no feedback

live

  • [algorithms|constructive algorithms|medium] bonetrousle | javascript, out of bounds use of ParseInt in stub
  • [algorithms|graph theory|medium] journey to the moon | c# stub use 'int's (signed 32-bit) but output 11 4999949998, which is > 2^31-1
  • [data structures|linked lists|easy] insert a node at the head of a linked list | c#, attempted use of pointer notation in locked code area, probably a c++ copy/paste error
  • [data structures|linked lists|medium] cycle detection | javascript, use of 'int' in locked code area
  • [python|regex and parsing|easy] validating uid | python, copy/paste error in test case 3
  • [linux shell|text processing|easy] cut #1 | test case 2 output bares no correlation to input. copy/paste error
  • [linux shell|text processing|easy] cut #2 | test case 2 output bares no correlation to input. copy/paste error
  • [linux shell|text processing|easy] cut #3 | test case 2 output bares no correlation to input. copy/paste error
  • [linux shell|text processing|easy] cut #4 | test case 2 output bares no correlation to input. copy/paste error
  • [linux shell|text processing|easy] cut #6 | test case 2 output bares no correlation to input. copy/paste error. there are also line termination differences between test case 2 and 0 / 3
  • [linux shell|text processing|easy] cut #7 | invalid / total nonsense example used for test case 0

fixed

  • [data structures|linked lists|medium] cycle detection | python, tab char in locked code area
  • [data structures|linked lists|easy] find merge point of two lists | javascript, use of 'int' in locked code area
  • [data structures|linked lists|easy] find merge point of two lists | python, tab char in locked code area
  • [data structures|linked lists|easy] insert a node at the tail of a linked list | python, tab char in locked code area
  • [data structures|linked lists|easy] insert a node at the head of a linked list | python, tab char in locked code area

challenge-x's People

Contributors

elbeardmorez 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.