Heagan (@heagandev) header
Heagan (@heagandev) profile picture
Trinidad and Tobago
Joined April 2021
Photo by Heagan (@heagandev)Photo by Heagan (@heagandev)Photo by Heagan (@heagandev)Photo by Heagan (@heagandev)Photo by Heagan (@heagandev)Photo by Heagan (@heagandev)Photo by Heagan (@heagandev)Photo by Heagan (@heagandev)Photo by Heagan (@heagandev)Photo by Heagan (@heagandev)
#100DaysOfCode Day 4 Today I completed the Git and Github section of #TheOdinProject. Despite already having experience using git I still learned a lot about the different types of version control systems, the history of git and a bit about how git works under the hood.
4
7
#100DaysOfCode Day 3 Wrapped up the CLI section in #TheOdinProject today. I covered navigating directories, working with files, pipes and filters. I enjoyed this section a lot more than I was expecting, scripting seems pretty cool.
5
#100DaysOfCode Day 2 Today I continued setting up my dev environment in Xubuntu with #TheOdinProject. I Installed Chrome, VS Code and learned a lot about the Linux CLI.
1
6
7
Ok trying this again #100DaysOfCode Day 1 Today I started #TheOdinProject. So far I've reviewed the basics of how the web works and started setting up a dev environment with VirtualBox and Xubuntu.
2
8
#100DaysOfCode Day 50 Taking it easy this week, been working hard af
1
18
#100DaysOfCode Day 49 - Completed Leetcode #21 Merge Two Sorted Lists - Updated my LList class in #Scala with .rotate, .duplicateEach and .sample(k) (returns k random elements)
1
8
#100DaysOfCode Day 48 - Finally started learning discrete math - Completed Leetcode #20 Valid Parentheses - Learnt the basics of regex aka string manipulation cheat codes
1
9
#100DaysOfCode Day 47 Updated my LList class in #Scala with: - .duplicateEach to duplicate each element k times - .runLengthEncoding which returns a list of tuples with each element mapped to it's frequency
5
9
#100DaysOfCode Day 46 More #Scala DSA practice: - Implemented a linked list class from scratch - Implemented the prepend and cons operators - Implemented apply (get kth element), length, reverse, removeAt and ofc the big 3; map, flatMap & filter
3
9
#100DaysOfCode Day 45 Had #Scala functional programming practice today: - Used foldLeft to calculate the number of elements in a list without using .length - Used zipWithIndex and filter to remove the elements at odd indices from a given list
6
10
If you're grinding #Leetcode you need to read this. Make sure to peep the link at the bottom for the full article.
Here's how I practiced @LeetCode questions to successfully prepare for the @Google software engineering interview. A thread👇🏾
1
#100DaysOfCode Day 44 - Started working on DSA interview prep - Had a great first mock interview with the folks @karat #BrillianBlackMinds #BlackTechTwitter
5
1
10
#100DaysOfCode Day 41 Today I learned about braceless syntax, a somewhat controversial feature added in #scala 3 that allows you to use indentation instead of curly braces. I also covered imperative #programming (mutable data, loops, vars etc) (not typically used in scala).
4
15
#100DaysOfCode Day 40 Today I worked with Pattern Matching in #Scala. It's an incredibly powerful feature that may resemble Switch statements in other languages but with additional utility. For-Comprehensions and Try-Catch blocks also use PM under the hood. #Coding #Programming
2
10
#100DaysOfCode Day 39 Try in #Scala is a data type used to safely handle exceptions. It works by wrapping a computation that may or may not fail. This allows us to avoid crashing due to uncaught exceptions and negates the need to write more defensive code. #Coding #Programming
1
11
#100DaysOfCode Day 38 Option in #Scala is a data type that has at most one value. It works as a wrapper for a value that may or may not be present and can be used to handle the absence of values (as opposed to using null). #Coding #Programming
2
11
#100DaysOfCode Day 37 Today I worked with Tuples and Maps in #Scala: - Tuples are groups of finite, ordered values - Maps are a collection of key-value pairs (pairs are represented as tuples with 2 values) #Coding #Programming
1
3
8
#100DaysOfCode Day 36 Today I worked with linear collections in #Scala, such as Seqs, Lists, Vectors, Ranges, Arrays and Sets. I learned about each collection's ideal use case, their commonly used methods and their type hierarchy in Scala's library. #Coding #Programming
2
6
#100DaysOfCode Day 35 Today I covered the implementations of the map, flatMap and filter methods as well as some of their common use cases. I also worked with for-comprehensions as a more readable way to represent chained calls to the above methods. #Scala #Coding #Programming
2
6
#100DaysOfCode Day 32 - 34 Working with Functional #Programming in #Scala: - All functions are instances of a function object - "Higher Order Functions" accept functions as arguments or return functions as values - "Curried" functions accept multiple parameter lists eg. f(x)(y)
2
7