Open in app

Sign In

Write

Sign In

Michelle Lau
Michelle Lau

176 Followers

Home

About

Nov 15, 2021

Using Recursion on a Medium Level LeetCode: Permutations

In this series, I will explain my thought process of figuring out one way to solve a particular LeetCode problem and then provide the JavaScript code. 46. Permutations The objective is to find out all combinations of a certain array of numbers. Input: nums = [1,2,3] Output: [[1,2,3],[1,3,2],[2,1,3],[2,3,1],[3,1,2],[3,2,1]] I’m writing…

Leetcode

3 min read

Using Recursion on a Medium Level LeetCode: Permutations
Using Recursion on a Medium Level LeetCode: Permutations
Leetcode

3 min read


Nov 11, 2021

Using Set Length with an Easy Level LeetCode: Contains Duplicate

In this series, I will explain my thought process of figuring out one way to solve a particular LeetCode problem and then provide the JavaScript code. 217. Contains Duplicate In this problem, the objective is to return true if any value is presented in the array at least twice and…

Algorithms

2 min read

Using Set Length with an Easy Level LeetCode: Contains Duplicate
Using Set Length with an Easy Level LeetCode: Contains Duplicate
Algorithms

2 min read


Nov 11, 2021

Using a Dictionary with a Medium Level LeetCode: Find the Duplicate Number

In this series, I will explain my thought process of figuring out one way to solve a particular LeetCode problem and then provide the JavaScript code. 287. Find the Duplicate Number The objective is to return whatever number is the repeated number in an array. …

Algorithms

2 min read

Using a Dictionary with a Medium Level LeetCode: Find the Duplicate Number
Using a Dictionary with a Medium Level LeetCode: Find the Duplicate Number
Algorithms

2 min read


Nov 23, 2020

A Quick Rundown of How to Use “Guard” and “Guard let”

So you’re learning Swift and you’ve wrapped your head around unwrapping optionals (ba dum tss). One of the next concepts you’ll most likely encounter is the guard statement. Let’s see a real-world example of how to use it. This is a login screen for an app that uses Firebase Authentication…

Swift

3 min read

A Quick Rundown of How to Use “Guard” and “Guard let”
A Quick Rundown of How to Use “Guard” and “Guard let”
Swift

3 min read

Michelle Lau

Michelle Lau

176 Followers

Software Engineer📍Tokyo. https://www.michelledeniselau.com/ ☕️ https://ko-fi.com/mimzivvimzi

Following
  • Adeline Dimond

    Adeline Dimond

  • Bryan Dijkhuizen

    Bryan Dijkhuizen

  • Caitlin McColl

    Caitlin McColl

  • Nora

    Nora

  • The Educative Team

    The Educative Team

See all (182)

Help

Status

Writers

Blog

Careers

Privacy

Terms

About

Text to speech