Open in app
Home
Notifications
Lists
Stories

Write
Danny Pham
Danny Pham

Home

Apr 12

Sliding Window: Find Maximum Sum of Subarray of Size K

The Sliding Window pattern is 1 of the 14 most common patterns in coding interview questions. These patterns are documented in this article. In this article, I’ll be going over the Find Maximum Sum of Subarray of Size K problem in detail and how I would approach it if it…

Leetcode

3 min read


Apr 21, 2021

Union-Find (Disjoint Sets)

Scenario Consider a social network site where people can become friends with one another. Friendship groups can be formed (person A is friends with person B, person B is friends with person C, person C is friends with person Z → the friendship group holds {A, B, C, Z}). …

Disjoint Sets

4 min read


Dec 6, 2020

Strings: Longest Palindromic Substring

As I start to continue to prepare for technical interviews, I’ll be going over solutions for questions that I find initially challenging. Today, I’ll be going over the Longest Palindromic Substring problem on Leetcode. The problem can be found here. Problem Description Given a string s, return the longest palindromic…

Software Engineer

5 min read

Strings: Longest Palindromic Substring
Strings: Longest Palindromic Substring
Danny Pham

Danny Pham

Software Engineer

Help

Status

Writers

Blog

Careers

Privacy

Terms

About

Knowable