Open in app

Sign in

Write

Sign in

Y Tech
Y Tech

947 Followers

Home

About

Pinned

System Design — Design a Monitoring System

This post will discuss the details of designing a monitoring system, which is asked in many interviews. How to Collect Metrics — Pull or Push There are two models to collect data, push and pull. In monitoring system, I would always go with pull model, and the reason is as below: Scalability Concern. Our infrastructure will keep growing…

System Design Interview

5 min read

System Design — Design a Monitoring System
System Design — Design a Monitoring System
System Design Interview

5 min read


Pinned

Master all types of Graph Algorithms and their Sample Code

I have conducted hundreds of interviews. I noticed very often, the candidate could successfully identify the problem by using a graph approach, but failed to implement the algorithm. In this post, I will discuss the common types of graph algorithms, along with their sample code. Standard DFS (pre-order and post-order) …

Coding Interviews

2 min read

Coding Interviews

2 min read


Pinned

Master all different types of Binary Search and their Sample Code

Binary Search is a very common algorithm to find a target value in a sorted list. The concept is easy to understand. However, the implementation can be confusing, especially with all the different scenarios: Binary search in a unique sorted list. Binary search in a sorted list with duplicates, and…

Coding Interviews

3 min read

Coding Interviews

3 min read


Pinned

Why I am writing leetcode posts, and how it can help

I have noticed that my followers and reading stats have been increasing rapidly since I started writing leetcode posts. I really appreciate the support and the interests from you guys! As a current senior software engineer without a degree in computer science, I have spent a lot of time learning…

Leetcode

3 min read

Leetcode

3 min read


Sep 1

Leetcode 359

Coding question asked in Google Interviews

Leetcode

1 min read

Leetcode

1 min read


Aug 28

Leetcode 562

Coding question asked in Google Interviews. ''' If the grid[i][j] == 1, then: horizontal: dp[i][j] = dp[i][j-1] + 1 vertical: dp[i][j] = dp[i-1][j] + 1 diag: dp[i][j] = dp[i-1][j-1] + 1 anti-diag: dp[i][j] = dp[i-1][j+1] + 1 ''' class Solution: def longestLine(self, mat: List[List[int]]) -> int…

Coding Interviews

2 min read

Coding Interviews

2 min read


Aug 21

Leetcode 1937

Coding question asked in Google interviews.

Leetcode

1 min read

Leetcode

1 min read


Aug 18

Leetcode 2265

Coding question asked in Amazon interviews.

Coding

1 min read

Coding

1 min read


Aug 17

Leetcode 2256

Coding question asked in Meta and Amazon interviews.

Leetcode

1 min read

Leetcode

1 min read


Aug 14

Leetcode 2289

Coding question asked in Meta and Amazon interviews.

Leetcode

1 min read

Leetcode

1 min read

Y Tech

Y Tech

947 Followers

Software Engineer

Following
  • TDS Editors

    TDS Editors

  • Netflix Technology Blog

    Netflix Technology Blog

  • Matthew Stewart, PhD

    Matthew Stewart, PhD

  • Daniel Bourke

    Daniel Bourke

  • Nayana

    Nayana

See all (31)

Help

Status

About

Careers

Blog

Privacy

Terms

Text to speech

Teams