100 days of code challenge with Ruby
- Trying to understand Union find...
- Studying up on Priority queues with min/max heap
- Free Code Camp vid
- cool take away: use a hash table to keep track of values position in the array
- Stacks and queues
- Hacker Rank Data structures skill path
- MuumiJumala helped me reverse a linked list without a stack!
- Hacker Rank Data structures skill path
- ran into a really hard problem https://www.hackerrank.com/challenges/almost-sorted-interval
- Tried out hacker rank
- pretty good, has skill tracks
- Started down the Data Structures skill path
- Watching Data Structures Easy to Advanced Course - Full Tutorial from a Google Engineer from free code camp
- Singly and Doubly linked lists
- Watching Data Structures Easy to Advanced Course - Full Tutorial from a Google Engineer from free code camp
- Dynamic and Static Arrays
- Looked at the puzzle of the week..
- Encounter Surface
- Clash of Code! with Alencruser and vizghar
- Note taking on data structures
- Watching Data Structures Easy to Advanced Course - Full Tutorial from a Google Engineer from free code camp
- Note taking on data structures
- array
- stack
- queue
- linked list
- binary tree
- Puzzles on CodinGame
- Easy: Dungeons and Maps
- Medium: The Last Crusade - Episode 1
- Puzzles on CodinGame
- Medium
- Shadows of the Knight
- unsolved thus far, have some of the tests passing...
- Shadows of the Knight
- Medium
- Puzzles on CodinGame
- Medium
- There is no spoon
- Easy
- Rock Paper Scissors Lizard Spock
- Medium
- Easy puzzles on CodinGame
- 1D spreadsheet
- got the memoization to work
- Ghost legs
- Rectangle partition
- up with 3 ways to do this
- most efficient: think about the sides!
- lots of help from twitch chat, thank you!
- 1D spreadsheet
- Easy puzzles on CodinGame
- finished up Chuck Norris
- MIME Type
- Horse-racing Duals
- 1D spreadsheet
- started failing at the "Deep Birecursion" test
- needs better memoization? :)
- Easy puzzles on CodinGame
- Mars Lander Episode 1
- ASCII Art
- started on Chuck Norris
- Played with "The Labyrinth" on CodinGame
- much progress!! got several of the test puzzles pass
- loooots of help from chat. thanks again vizghar and maldocrosse
- Adjacency list Dijkstras shortest path
- got it working!!!!
- Played with "The Labyrinth" on CodinGame
- Adjacency list Dijkstras shortest path link
- working on this for a while and still not working, frustrated.....
- Adjacency matrix Dijkstras shortest path works! link
- still a bit confused on this, but did get it working
- Adjacency list Dijkstras shortest path link
- this looks much more complex, maybe its just because G4G has so much code for it?
- Review Graphs
- Start implementing Dijkstras shortest path
- Graphs!
- CodinGame!!!
- Played Ghost in the Cell and Power of Thor
- Review Trie
- CodinGame!!!
- this was so cool. definitely need to do this more!
- Review Trie insert and search link
- made more sense today :)
- Implemented Trie operations
- Review Linked list reversal link
- got the iterative version working
- Moved into Tries link
- super confused at first. thought each node would keep up with the letter value ("a") but it keeps up with it by using an index in an array with 26 values
- excited to review this tomorrow!
- Review linked list opertions (see Day 13 below)
- Linked list reverse - link
- looked at Geeks for Geeks after the fact
- figured it out on my own using a stack!
- Linked lists with lots of operations
- Review depth first iterative preorder, inorder and post order
- made more sense today. don't think I could implement from memory
- Easy coding problems on binarysearch.com
Binary trees
- Review breadth first iterative and depth first recursive
- Depth first iterative inorder and post order
Binary trees!
- Breadth first traversal - iterative link
- this seemed overwhelming at first. but way better when I figured out the queue method
- Depth first search - recursive
- inorder, preorder, postorder link
- did this one from memory!!! learned about the different orders.
Review Stacks
- Tower of hanoi - iterative link
Stacks
- Tower of hanoi - recursive link
- so much confusion around this, but got it to work
Queue
- implement a queue with 2 stacks link
- this was pretty straitforward
Tree
- Started looking at breadth first search on binary tree....
Stacks
- Tower of hanoi - iterative link
- wikipedia was super helpful
- confused for the first hour, copy coded, then cleaned up the code and it made a bit more sense
Easy problems on binarysearch.com
Review k'th smallest
- k'th smallest element with quick sort link
- better understanding of the partition method
Easy problems on binarysearch.com
Review k'th smallest
- k'th smallest element with min and max heap link
- much better understanding of the heap implementation
K'th smallest
- quick sort
- got it working but don't understand it...
Review array rearrangements
- Odds and evens link
- This made way more sense today!
Sorting
- k'th smallest element with min and max heap link
- min heap stuuumpted me. copy coded it from the c++ example and it started to sink in
- max heap was easier after working with min heap, but still a bit confusing
Review of array rearrangements
- hash_set, swap_elements link
- swap_elements made more sense this time
- reverse_iterative, reverse_recursive link
Array rearrangements
- Odds and evens link
Sorting
- Simple, min heap
- simple solution, super easy
- got stuck on implementing the min heap...
Review of array rearrangements
- Naive and check and replace link
Array rearrangments
- hash_set, swap_elements link
- hash_set made sense from the get go
- swap_elements confused me at first
- reverse_iterative, reverse_recursive link
- reverse_iterative, reverse_recursive made sense. Had done the iterave version in array rotations on Day 1
Review of array rotations
- juggling still strange to me
- didn't bother with block swap
Array rearrangement
- Naive approach, Check and replace link
- naive made sense
- check and replace still a bit confusing
Array rotations