Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Provide solutions for other languages #57

Open
mre opened this issue Oct 5, 2018 · 5 comments
Open

Provide solutions for other languages #57

mre opened this issue Oct 5, 2018 · 5 comments

Comments

@mre
Copy link
Owner

mre commented Oct 5, 2018

There are a lot of solutions missing for languages like Kotlin, Rust, or Typescript.
Here is an overview of what we have so far:

├── alphanumeric-string-sort
│   ├── README.md
│   ├── alphanumeric-string-sort.cpp
│   ├── alphanumeric-string-sort.kt
│   └── alphanumeric-string-sort.py
├── anagram-detection
│   ├── Readme.md
│   ├── anagram-detection.coffee
│   ├── anagram-detection.cs
│   ├── anagram-detection.go
│   ├── anagram-detection.java
│   ├── anagram-detection.js
│   ├── anagram-detection.kt
│   ├── anagram-detection.php
│   ├── anagram-detection.py
│   ├── anagram-detection.rs
│   ├── anagram-detection2.py
│   └── anagram-detection3.py
├── array-pair-sum
│   ├── Readme.md
│   ├── array-pair-sum.coffee
│   ├── array-pair-sum.go
│   ├── array-pair-sum.java
│   ├── array-pair-sum.js
│   ├── array-pair-sum.kt
│   ├── array-pair-sum.php
│   ├── array-pair-sum.py
│   └── array_pair_sum.rs
├── array-sum
│   ├── README.md
│   ├── array-sum.kt
│   ├── array-sum.py
│   ├── array-sum.rs
│   └── array_sum.php
├── atbash
│   ├── README.md
│   ├── atbash.cs
│   ├── atbash.go
│   ├── atbash.kt
│   ├── atbash.php
│   ├── atbash.py
│   └── atbash.rs
├── balanced-brackets
│   ├── Readme.md
│   ├── balanced-brackets.coffee
│   ├── balanced-brackets.go
│   ├── balanced-brackets.java
│   ├── balanced-brackets.js
│   ├── balanced-brackets.kt
│   ├── balanced-brackets.php
│   ├── balanced-brackets2.py
│   ├── balanced_brackets.py
│   └── balanced_brackets.rs
├── binary-search-tree-check
│   ├── Readme.md
│   ├── binary-search-tree-check.coffee
│   ├── binary-search-tree-check.js
│   ├── binary-search-tree-check.kt
│   ├── binary-search-tree-check.py
│   └── binary_search_tree_check.rs
├── bubble-sort
│   ├── Readme.md
│   ├── bubble-sort.c
│   ├── bubble-sort.coffee
│   ├── bubble-sort.go
│   ├── bubble-sort.java
│   ├── bubble-sort.js
│   ├── bubble-sort.kt
│   ├── bubble-sort.py
│   ├── bubble-sort.rb
│   └── bubble_sort.rs
├── byte-format
│   ├── README.md
│   ├── byte-format.coffee
│   ├── byte-format.go
│   ├── byte-format.js
│   ├── byte-format.kt
│   ├── byte-format.py
│   └── byte_format.rs
├── can-scramble
│   ├── README.md
│   ├── can-scramble.kt
│   ├── can-scramble.php
│   ├── can-scramble.py
│   └── can_scramble.rs
├── cash-units
│   ├── README.md
│   ├── cash-units.kt
│   ├── cash-units.php
│   └── cash-units.rs
├── closed-loops
│   ├── LoopCounter.cs
│   ├── Readme.md
│   ├── closed-loops.kt
│   ├── closed-loops.py
│   ├── closed.rs
│   └── closed_loops.php
├── codejam
│   ├── 2009
│   │   └── Quali
│   │       ├── A-Aliens
│   │       │   ├── A-alien.py
│   │       │   ├── A-large-practice.in
│   │       │   ├── A-small-practice.in
│   │       │   ├── A-small-practice.out
│   │       │   └── A-tiny-practice.in
│   │       ├── B-Watershed
│   │       │   ├── B-tiny-practice.in
│   │       │   └── B-watershed.py
│   │       └── C-Welcome
│   │           ├── test.py
│   │           └── welcome.py
│   └── 2013
│       ├── 1a
│       │   ├── bullseye
│       │   │   ├── A-small-practice.in
│       │   │   ├── A-tiny-practice.in
│       │   │   ├── bullseye.py
│       │   │   └── other
│       │   │       ├── JongMan_0_1.zip
│       │   │       ├── Problem_A_Round1A.py
│       │   │       ├── VictorDudin_0_0.zip
│       │   │       ├── a.py
│       │   │       ├── bull.py
│       │   │       ├── kmod_0_0.zip
│       │   │       └── tjhance7_0_0.zip
│       │   └── manage_your_energy
│       │       ├── B-small-practice.in
│       │       └── README.md
│       └── quali
│           ├── Fair-and-Square
│           │   ├── C-small-practice.in
│           │   ├── C-small-practice.out
│           │   ├── README.md
│           │   ├── fair-and-square.kt
│           │   └── fairsquare.py
│           ├── Lawnmower
│           │   ├── B-large-practice.in
│           │   ├── B-large-practice.out
│           │   ├── B-small-practice.in
│           │   ├── B-small-practice.out
│           │   ├── B-small-practice2.out
│           │   ├── README.md
│           │   ├── lawnmower.py
│           │   ├── lawnmower2.py
│           │   ├── t.py
│           │   ├── t2.py
│           │   └── t3.py
│           ├── Tic-Tac-Toe-Tomek
│           │   ├── A-large-practice.in
│           │   ├── A-large-practice.out
│           │   ├── A-small-practice.in
│           │   ├── B-small-practice.in
│           │   ├── README.md
│           │   ├── a.py
│           │   ├── in.txt
│           │   └── tic-tac-toe-tomek.py
│           └── Treasure
│               ├── D-large-practice.in
│               ├── D-small-practice.in
│               ├── D-tiny-practice.in
│               ├── README.md
│               ├── test.py
│               ├── test2.py
│               └── treasure.py
├── combine-two-strings
│   ├── Readme.md
│   ├── combine-two-strings-regex.php
│   ├── combine-two-strings.coffee
│   ├── combine-two-strings.java
│   ├── combine-two-strings.js
│   ├── combine-two-strings.php
│   └── combine-two-strings.py
├── convert-array
│   ├── Readme.md
│   ├── convert-array.js
│   └── convert-array.py
├── cross-base-primes
│   ├── README.md
│   ├── cross-base-primes.cpp
│   └── cross-base-primes.py
├── csv-parsing
│   ├── Readme.md
│   ├── csv-parsing.coffee
│   ├── csv-parsing.js
│   ├── csv-parsing.py
│   └── cvs-parsing-regexp.js
├── deadlock
│   ├── README.md
│   ├── deadlock.cs
│   └── deadlock.rb
├── debounce
│   ├── Readme.md
│   ├── debounce.coffee
│   ├── debounce.js
│   └── debounce.py
├── duplicate-element
│   └── README.md
├── euler
│   ├── 1
│   │   └── sum35.py
│   ├── 10
│   │   └── firstprimes.py
│   ├── 11
│   │   └── largestgrid.py
│   ├── 12
│   │   ├── triangle.py
│   │   ├── triangle_alt.py
│   │   └── triangle_alt2.py
│   ├── 13
│   │   └── largesum.py
│   ├── 18
│   │   └── path_sum.py
│   ├── 19
│   │   └── 19.py
│   ├── 2
│   │   └── evenfib.py
│   ├── 21
│   │   ├── amicable.py
│   │   ├── prime_sieve.py
│   │   └── prime_sieve.pyc
│   ├── 22
│   │   ├── names.py
│   │   └── p022_names.txt
│   ├── 23
│   │   ├── euler_math.py
│   │   └── non_abundant.py
│   ├── 24
│   │   └── permut.py
│   ├── 25
│   │   └── fib.py
│   ├── 26
│   │   ├── cycle.py
│   │   └── euler_math.py
│   ├── 27
│   │   ├── euler_math.py
│   │   ├── euler_math.pyc
│   │   └── quadratic_primes.py
│   ├── 28
│   │   └── spiral.py
│   ├── 29
│   │   └── distinct_powers.py
│   ├── 3
│   │   └── largest_prime_factor.py
│   ├── 33
│   │   └── cancelling_fractions.py
│   ├── 38
│   │   └── pandigital.py
│   ├── 39
│   │   └── triangle.py
│   ├── 4
│   │   └── squarediff.py
│   ├── 40
│   │   └── Champernowne.py
│   ├── 41
│   │   ├── euler_math.py
│   │   ├── euler_math.pyc
│   │   └── pan_prime.py
│   ├── 42
│   │   ├── p042_words.txt
│   │   └── triangle_words.py
│   ├── 43
│   │   ├── euler_math.py
│   │   ├── euler_math.pyc
│   │   └── pan_prime.py
│   ├── 44
│   │   └── pentagonal.py
│   ├── 45
│   │   └── pentagonal.py
│   ├── 46
│   │   ├── euler_math.py
│   │   ├── euler_math.pyc
│   │   └── goldbach.py
│   ├── 47
│   │   ├── distinct.py
│   │   └── euler_math.py
│   ├── 48
│   │   └── powers.py
│   ├── 49
│   │   ├── euler_math.py
│   │   └── prime_permutations.py
│   ├── 5
│   │   └── nodivremainder.py
│   ├── 50
│   │   ├── consecutive_primes.py
│   │   ├── consecutive_primes.py.lprof
│   │   ├── euler_math.py
│   │   ├── euler_math.pyc
│   │   └── kernprof
│   ├── 52
│   │   └── 52.go
│   ├── 53
│   │   ├── main.go
│   │   └── main_test.go
│   ├── 6
│   │   └── palindrom.py
│   ├── 7
│   │   └── 10001stprime.py
│   ├── 8
│   │   └── adjacent_digits.py
│   ├── 9
│   │   └── triplet.py
│   └── 92
│       ├── 92.py
│       └── 92.pyc
├── even-occuring-element
│   ├── Readme.md
│   ├── even-occuring-element.coffee
│   ├── even-occuring-element.js
│   └── even-occuring-element.py
├── factorial
│   ├── factorial.c
│   ├── factorial.coffee
│   ├── factorial.js
│   ├── factorial.php
│   ├── factorial.py
│   ├── factorial.rb
│   └── readme.md
├── fibonacci
│   ├── Readme.md
│   ├── fibonacci.coffee
│   ├── fibonacci.py
│   ├── fibonacci.rb
│   └── fibonnaci.js
├── find-missing-element
│   ├── Readme.md
│   ├── find-missing-element.coffee
│   ├── find-missing-element.js
│   └── find-missing-element.py
├── first-greater-number
│   ├── 12478687.rb
│   └── first-greater-number.py
├── first-non-repeated-character
│   ├── Readme.md
│   ├── first-non-repeated-character.coffee
│   ├── first-non-repeated-character.js
│   ├── first-non-repeated-character.py
│   └── first-non-repeating-character.kt
├── flatten-array
│   ├── Readme.md
│   ├── flatten-array-recursive.php
│   ├── flatten-array.coffee
│   ├── flatten-array.hs
│   ├── flatten-array.js
│   ├── flatten-array.php
│   └── flatten-array.py
├── flip-bit
│   ├── 12590665.rb
│   ├── Readme.md
│   └── flip.py
├── get-elements-by-class-name
│   ├── Readme.md
│   ├── get-elements-by-class-name.coffee
│   └── get-elements-by-class-name.js
├── hotel-room
│   ├── Readme.md
│   ├── hotel-room.coffee
│   ├── hotel-room.cs
│   ├── hotel-room.js
│   ├── hotel-room.php
│   └── hotel-room.py
├── increment-int-list
│   ├── increment_int_list.py
│   └── increment_int_list2.py
├── integer-difference
│   ├── Readme.md
│   ├── integer-difference.coffee
│   ├── integer-difference.js
│   └── integer-difference.py
├── integer-length
│   ├── Readme.md
│   ├── integer-length.coffee
│   ├── integer-length.js
│   ├── integer-length.php
│   └── integer-length.py
├── intersections
│   ├── README.md
│   ├── intersections.php
│   └── intersections.py
├── knights-on-chessboard
│   ├── README.md
│   ├── knight.java
│   └── knight.py
├── kth-largest-element-in-array
│   ├── Readme.md
│   ├── kth-largest-element-in-array.coffee
│   ├── kth-largest-element-in-array.js
│   └── kth-largest-element-in-array.py
├── largest-continuous-sum
│   ├── Readme.md
│   ├── largest-continuous-sum.coffee
│   ├── largest-continuous-sum.js
│   └── largest-continuous-sum.py
├── largest-palindrome
│   ├── Readme.md
│   ├── largest-palindrome.coffee
│   ├── largest-palindrome.js
│   └── largest-palindrome.py
├── least-common-multiple
│   ├── 12475663.rb
│   └── least-common-multiple.py
├── linked-list
│   ├── Readme.md
│   ├── linked-list.coffee
│   ├── linked-list.java
│   ├── linked-list.js
│   └── linked-list.py
├── longest-compound-word
│   ├── Readme.md
│   ├── longest-compound-word.js
│   └── longest-compound-word.py
├── longest-subsequence
│   ├── find_longest_subsequence.py
│   └── find_longest_subsequence2.py
├── longest-words
│   ├── LongestWords.cs
│   ├── Readme.md
│   ├── longest-words.js
│   └── longest-words.py
├── matching-nodes
│   ├── Readme.md
│   └── matching-nodes.js
├── median-integer-stream
│   ├── Readme.md
│   ├── median-integer-stream.js
│   └── median-integer-stream.py
├── merge-sort
│   ├── Readme.md
│   ├── merge-sort.js
│   ├── merge-sort.py
│   └── mergesort.rs
├── missing-number
│   ├── Readme.md
│   ├── missing-number.cs
│   ├── missing-number.java
│   ├── missing-number.js
│   └── missing-number.py
├── money-format
│   ├── Readme.md
│   ├── money-format.js
│   └── money-format.py
├── multiples-of-3-and-5
│   ├── Readme.md
│   ├── multiples-of-3-and-5-2.py
│   ├── multiples-of-3-and-5.js
│   └── multiples-of-3-and-5.py
├── next-highest-number
│   ├── Readme.md
│   ├── next-highest-number.js
│   └── next-highest-number.py
├── next-palindrome-number
│   ├── Readme.md
│   ├── next-palindrome-number.js
│   └── next-palindrome-number.py
├── odd-occuring-element
│   ├── Readme.md
│   ├── odd-occuring-element.js
│   └── odd-occuring-element.py
├── once
│   ├── Readme.md
│   ├── once.hpp
│   ├── once.js
│   └── once.py
├── permutation_generator
│   ├── Readme.md
│   └── generator.py
├── prime-number
│   ├── Readme.md
│   ├── bench.py
│   ├── bench.pyc
│   ├── prime-number-2.py
│   ├── prime-number.js
│   ├── prime-number.py
│   └── prime-number.rb
├── queue
│   ├── Readme.md
│   ├── queue.hpp
│   ├── queue.js
│   └── queue.py
├── quick-sort
│   ├── Readme.md
│   ├── quick-sort.js
│   ├── quick-sort.py
│   └── quicksort.rs
├── remove-duplicates-from-string
│   ├── Readme.md
│   ├── remove-duplicates-from-string.js
│   └── remove-duplicates-from-string.py
├── reverse-string
│   ├── README.md
│   ├── reverse-string.php
│   ├── reverse-string.py
│   └── reverse-string.rs
├── reverse-words-in-string
│   ├── Readme.md
│   ├── ReverseWordsInAString.java
│   ├── reverse-words-in-string.js
│   └── reverse-words-in-string.py
├── search-unknown-length-array
│   ├── Readme.md
│   ├── search-unknown-length-array.js
│   └── search-unknown-length-array.py
├── selection-sort
│   ├── readme.md
│   ├── selection-sort.c
│   ├── selection-sort.js
│   ├── selection-sort.py
│   └── selection-sort.rb
├── shortest-fizz-buzz
│   ├── Readme.md
│   ├── shortest-fizz-buzz.c
│   ├── shortest-fizz-buzz.js
│   ├── shortest-fizz-buzz.php
│   └── shortest-fizz-buzz.py
├── sorted-array-search
│   ├── Readme.md
│   ├── sorted-array-search.js
│   └── sorted-array-search.py
├── spiral
│   ├── Readme.md
│   ├── input-1.png
│   ├── input-2.png
│   ├── spiral.hpp
│   ├── spiral.js
│   └── spiral.py
├── split_string
│   ├── README.md
│   ├── split.lol
│   ├── splitString.php
│   ├── split_string.py
│   └── split_string.rs
├── stack
│   ├── README.md
│   ├── stack.c
│   ├── stack.h
│   ├── stack.hpp
│   ├── stack.js
│   ├── stack.php
│   └── stack.py
├── string-format
│   ├── Readme.md
│   ├── string-format.js
│   └── string-format.py
├── string-permutations
│   ├── Readme.md
│   ├── string-permutations.js
│   └── string-permutations.py
├── string-rotation
│   ├── Readme.md
│   ├── string-rotation.js
│   └── string-rotation.py
├── substrings
│   ├── 12435684.rb
│   ├── Readme.md
│   ├── substrings.php
│   └── substrings.py
├── sum-of-array-plus-one
│   ├── Readme.md
│   ├── sum-of-array-plus-one.cs
│   ├── sum-of-array-plus-one.js
│   ├── sum-of-array-plus-one.php
│   ├── sum-of-array-plus-one.py
│   └── sum-of-array-plus-one.rb
├── the-rabbit-question
│   ├── README.md
│   └── RabbitQuestion
│       ├── RabbitQuestion
│       │   ├── Answers.cs
│       │   ├── Properties
│       │   │   └── AssemblyInfo.cs
│       │   └── RabbitQuestion.csproj
│       └── RabbitQuestion.sln
├── transform-word
│   ├── Readme.md
│   ├── transform-word.js
│   ├── transform-word.py
│   └── words.txt
├── tree-level-order-print
│   ├── Readme.md
│   ├── tree-level-order-print.js
│   ├── tree_level_order_print.py
│   └── tree_level_order_print_2.py
├── word-analytics
│   ├── Readme.md
│   ├── huckleberry-finn.txt
│   ├── word-analytics.js
│   └── word-analytics.py
├── word-grid
│   ├── Readme.md
│   ├── word-grid-fast.py
│   └── word-grid.py
└── word-positions
    ├── Readme.md
    ├── word-positions.coffee
    └── word-positions.js

138 directories, 457 files

If you're interested in adding a solution for a programming language that is still missing, just add a comment here or create a pull request right away. I will provide mentorship if needed and do code reviews. 🌟 This is a good starting point for Hacktoberfest.

@rohan-git
Copy link
Contributor

Would it be okay to contribute C# solutions to these problems ?

@mre
Copy link
Owner Author

mre commented Oct 29, 2018

Of course @rohan-git. Go ahead. 👍

@mre
Copy link
Owner Author

mre commented Oct 29, 2018

Turns out you already did. 😉

@rohan-git
Copy link
Contributor

Turns out you already did.

Thanks! Sorry impulsive PR, (it passed my console tests). Got a little excited I could finally be able to contribute somewhere.

@IronVenom
Copy link
Contributor

I have added some solutions in C++. Could you have a look at them ? Also, I have added the statistics using cloc. I have also made a PR for that.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants