Algorithms
Solved algorithms and data structures problems in many languages
Install / Use
/learn @marcosfede/AlgorithmsREADME
Data Structure and Algorithmic Problems solved in many languages
This repository is inspired by keon's solved problems in Python 3. I wanted to compare solutions across different languages and learn them in the process. Solutions may be my own, or taken from the internet.
Click on the icons to search by language
<p align="center"> <a href="https://github.com/marcosfede/algorithms/search?utf8=%E2%9C%93&q=language%3ARust&type="><img height="70" src="assets/rust.png" alt="rust"/></a> <a href="https://github.com/marcosfede/algorithms/search?utf8=%E2%9C%93&q=language%3AGo&type="><img height="70" src="assets/go.png" alt="go"/></a> <a href="https://github.com/marcosfede/algorithms/search?utf8=%E2%9C%93&q=language%3APython&type="><img height="70" src="assets/python.png" alt="python"/></a> <a href="https://github.com/marcosfede/algorithms/search?utf8=%E2%9C%93&q=language%3AJavascript&type="><img height="70" src="assets/javascript.png" alt="javascript"/></a> <a href="https://github.com/marcosfede/algorithms/search?utf8=%E2%9C%93&q=language%3AHaskell&type="><img height="70" src="assets/haskell.png" alt="haskell"/></a> <a href="https://github.com/marcosfede/algorithms/search?utf8=%E2%9C%93&q=language%3AJulia&type="><img height="70" src="assets/julia.png" alt="julia"/></a> <a href="https://github.com/marcosfede/algorithms/search?utf8=%E2%9C%93&q=language%3AElixir&type="><img height="70" src="assets/elixir.png" alt="elixir"/></a> <a href="https://github.com/marcosfede/algorithms/search?utf8=%E2%9C%93&q=language%3AScala&type="><img height="70" src="assets/scala.png" alt="scala"/></a> <a href="https://github.com/marcosfede/algorithms/search?utf8=%E2%9C%93&q=language%3ARuby&type="><img height="60" src="assets/ruby.png" alt="ruby"/></a> <a href="https://github.com/marcosfede/algorithms/search?utf8=%E2%9C%93&q=language%3AC++&type="><img height="60" src="assets/cpp.png" alt="cpp"/></a> </p>List of problems
Events
Google Code Jam
- [x] googlecodejam
- [x] 2017
- [x] Oversized Pancake Flipper
- [x] Tidy Numbers
- [x] Fashion Show
- [x] 2018
- [x] Bathroom Stalls
- [x] Number Guessing
- [x] Senate Evacuation
- [x] Cruise Control
- [x] Cube UFO
- [x] Go Gopher
- [x] Saving The Universe Again
- [x] Trouble Sort
- [x] Waffle Choppers
- [x] Lollipop Shop
- [x] Rounding Error
- [x] 2019
- [x] Cryptopangrams
- [x] Dat Bae
- [x] Foregone Solution
- [x] You Can Go Your Own Way
- [x] 2017
Advent of Code
- [x] adventofcode
Data Structures
- [x] array
- [x] circular_counter
- [x] flatten
- [x] garage
- [x] golf_bot
- [x] longest_non_repeat
- [x] merge_intervals
- [x] missing_ranges
- [x] plus_one
- [x] rotate_array
- [x] summary_ranges
- [x] three_sum
- [x] two_sum
- [ ] backtrack
- [x] anagram
- [x] array_sum_combinations
- [x] combination_sum
- [x] expression_add_operators
- [x] factor_combinations
- [ ] generate_abbreviations
- [ ] generate_parenthesis
- [ ] letter_combination
- [ ] palindrome_partitioning
- [ ] pattern_match
- [ ] permute
- [ ] permute_unique
- [ ] subsets
- [ ] subsets_unique
- [ ] bfs
- [ ] bit
- [ ] bytes_int_conversion
- [ ] count_ones
- [ ] find_missing_number
- [ ] power_of_two
- [ ] reverse_bits
- [ ] single_number2
- [ ] single_number
- [ ] subsets
- [ ] add_without_operator
- [ ] calculator
- [ ] math_parser
- [ ] dfs
- [ ] all_factors
- [x] count_islands
- [ ] pacific_atlantic
- [ ] sudoku_solver
- [ ] walls_and_gates
- [ ] dp
- [ ] buy_sell_stock
- [ ] climbing_stairs
- [ ] coin_change
- [ ] combination_sum
- [ ] egg_drop
- [ ] house_robber
- [ ] job_scheduling
- [ ] knapsack
- [ ] longest_increasing
- [ ] matrix_chain_order
- [ ] max_product_subarray
- [ ] max_subarray
- [ ] min_cost_path
- [ ] num_decodings
- [ ] regex_matching
- [ ] rod_cut
- [ ] word_break
- [ ] graph
- [ ] strongly_connected
- [ ] clone_graph
- [ ] cycle_detection
- [ ] find_all_cliques
- [ ] find_path
- [ ] graph
- [ ] markov_chain
- [ ] minimum_spanning_tree
- [ ] satisfiability
- [ ] tarjan
- [ ] traversal
- [ ] heap
- [ ] merge_sorted_k_lists
- [ ] skyline
- [ ] sliding_window_max
- [ ] linkedlist
- [ ] add_two_numbers
- [ ] copy_random_pointer
- [ ] delete_node
- [ ] first_cyclic_node
- [x] is_cyclic
- [ ] is_palindrome
- [ ] kth_to_last
- [ ] linkedlist
- [ ] remove_duplicates
- [ ] reverse
- [ ] rotate_list
- [ ] swap_in_pairs
- [ ] map
- [ ] hashtable
- [ ] longest_common_subsequence
- [ ] randomized_set
- [ ] valid_sudoku
- [ ] maths
- [ ] base_conversion
- [ ] extended_gcd
- [ ] gcd/lcm
- [ ] generate_strobogrammtic
- [ ] is_strobogrammatic
- [ ] [next_perfect_square](maths/ne
