Open in app

Sign In

Write

Sign In

Matthew Boyd
Matthew Boyd

20 Followers

Home

About

Jan 23, 2022

[Leet Code] Rings and Rods

Leetcode: https://leetcode.com/problems/rings-and-rods/ Problem: There are n rings and each ring is either red, green, or blue. The rings are distributed across ten rods labeled from 0 to 9. You are given a string rings of length 2n that describes the n rings that are placed onto the rods. …

Leetcode

3 min read

[Leet Code] Rings and Rods
[Leet Code] Rings and Rods
Leetcode

3 min read


Jan 23, 2022

[Leet Code] Maximum Number of Words Found in Sentences

Leetcode: https://leetcode.com/problems/maximum-number-of-words-found-in-sentences/ Problem: A sentence is a list of words that are separated by a single space with no leading or trailing spaces. You are given an array of strings sentences, where each sentences[i] represents a single sentence. Return the maximum number of words that appear in a single sentence. …

Leetcode

2 min read

[Leet Code] Maximum Number of Words Found in Sentences
[Leet Code] Maximum Number of Words Found in Sentences
Leetcode

2 min read


Dec 28, 2021

Tips and Tricks for Fully Remote Working Software Engineer

This incoming year, 2022, I will be starting a position as a fully remote worker. This will be a first for me. Obviously, like many other software engineers throughout the past 2 years, I’ve essentially been fully remote, however, I have always had the ability to go into the office…

Remote Working

3 min read

Tips and Tricks for Fully Remote Working Software Engineer
Tips and Tricks for Fully Remote Working Software Engineer
Remote Working

3 min read


Dec 24, 2021

Getting started with Go — Maps

Maps are the equivalent to a dictionary in python. They’re a key value storage data structure. The syntax for declaring a map would be as follows: newMap := make(map[string]int) In this declaration statement, we’ve created a variable of type map which will have the data type of string for the…

Go

1 min read

Getting started with Go — Maps
Getting started with Go — Maps
Go

1 min read


Dec 24, 2021

Getting started with Go — Switch Statements

In Go, switch statements are for the most part very similar to a lot of other languages. Their general syntax is as follows: switch condition { case answer: //do something default: } So for example, we could do the following: switch time.Now().Day() { case 0: fmt.Println("Monday") case 1: fmt.Println("Tuesday") case…

Golang

1 min read

Getting started with Go — Switch Statements
Getting started with Go — Switch Statements
Golang

1 min read


Dec 23, 2021

Getting started with Go — Loops

Loops are interesting in Go. From other languages, such as java, we have the following loops: For loops While loops Do while loops In Go, we only have one loop, the for loop, however, with the for loop, we have the ability to do almost all the functionality of the…

Go

1 min read

Getting started with Go — Loops
Getting started with Go — Loops
Go

1 min read


Dec 23, 2021

Getting started with Go — Continued

Continuing on from the last article, there are a few more tips and tricks to teach you. For imports, we can write them in a much clearer way if we have multiple imports: Old way: import "fmt" import "time" New way: import ( "fmt" "time" ) This will keep our…

Go

2 min read

Getting started with Go — Continued
Getting started with Go — Continued
Go

2 min read


Dec 23, 2021

Getting started with Go

Here I’ll provide some useful tips and tricks for getting started with Go. Environment: I cannot stress this enough, make sure to setup your IDE properly. This will save you so much time and effort in the long run. For me, I personally use Visual Studio Code. …

Go

2 min read

Getting started with Go
Getting started with Go
Go

2 min read


Nov 8, 2021

[Leet Code] Build an Array With Stack Operations

Leetcode: https://leetcode.com/problems/build-an-array-with-stack-operations/ Problem: Given an array target and an integer n. In each iteration, you will read a number from list = {1,2,3..., n}. Build the target array using the following operations: Push: Read a new element from the beginning list, and push it in the array. Pop: delete the…

Leetcode

2 min read

[Leet Code] Build an Array With Stack Operations
[Leet Code] Build an Array With Stack Operations
Leetcode

2 min read


Nov 8, 2021

[Leet Code] Relative Ranks

Leetcode: https://leetcode.com/problems/relative-ranks/ Problem: You are given an integer array score of size n, where score[i] is the score of the ith athlete in a competition. All the scores are guaranteed to be unique. The athletes are placed based on their scores, where the 1st place athlete has the highest score…

Leetcode

2 min read

[Leet Code] Relative Ranks
[Leet Code] Relative Ranks
Leetcode

2 min read

Matthew Boyd

Matthew Boyd

20 Followers

Learning, and posting my findings!

Following
  • Netflix Technology Blog

    Netflix Technology Blog

  • AirbnbEng

    AirbnbEng

  • OneFortune

    OneFortune

Help

Status

Writers

Blog

Careers

Privacy

Terms

About

Text to speech