Home All Articles Tags About
img

Chris Zhong

Software Engineer

Chris Zhong

Personal Blog

Welcome to my blog


  • Home
  • All Articles
  • Tags
  • About
  1. Set up Basic Spring Boot Environment

    Create a Spring Boot ProjectOpen IntelliJ IDEA, click Create New Project and select Spring Initializr. Then click Next.For the add on dependencies, we can add them later. Click Next and Finish.Change the Java version to your current Java version.A...…

    2023-10-25
    Spring Framework
    Expand »

  2. LeetCode daily problems

    2831. Find the Longest Equal Subarray 🟠 05-23-2024Description:You are given a 0-indexed integer array nums and an integer k.A subarray is called equal if all of its elements are equal. Note that the empty subarray is an equal subarray.Return the l...…

    2023-10-21
    LeetCode
    Expand »

  3. Software Interview problems

    Core JavaSolid PrinciplesSingle Responsibility Principle A class should have one and only one reason to change, meaning that a class should have only one job. Example:Suppose you have a shape class, like triangle, you want to have a method...…

    2023-10-11
    Interviews
    Expand »

  4. HTTP

    HTTPHTTP based on TCP/IP, it is a protocol used for transmitting web pages over the internet. It is a stateless protocol, which means it does not remember the previous state of the client.HTTP RequestHTTP Request is a message sent from the client ...…

    2023-09-26
    Computer Network
    Expand »

  5. Network - RPC, HTTP, gRPC

    RPC (Remote Procedure Call)What is RPC?RPC is a protocol used to call other processes on the remote systems like a local system. (remote invocation) Beside HTTP, this is another way to achieve communication in distributed systems.Transport protoco...…

    2023-09-22
    Computer Network
    Expand »

  6. Network - What happend when you type a URL in browser

    What happend when you type a URL in browser Check url is valid or not Check browser cache, system cache, router cache, ISP cache, if cache hit, return the page, else go to step 3 DNS resolve, get IP address Browser send H...…

    2023-09-21
    Computer Network
    Expand »

  7. Network - TCP/IP Model / HTTP

    OSI VS TCP/IPOSI stand for Open System Interconnection, which is a conceptual model. It is used to describe the functions of a networking system.TCP/IP is a practicial implementation of the OSI model. It is a protocol stack used for communication ...…

    2023-09-21
    Computer Network
    Expand »

  8. Prefix Sum problems

    Prefix Sum problems LeetCode 难度 724. Find Pivot Index 🟢 560. Subarray Sum Equals K 🟡 724. Find Pivot IndexDescriptionGiven an array of integers nums, calculate the pivot index of this ar...…

    2023-08-07
    LeetCode
    Expand »

  9. Water trapper problems

    接雨水问题详解 LeetCode 力扣 难度 11. Container With Most Water 11. 盛最多水的容器 🟠 42. Trapping Rain Water 42. 接雨水 🔴 ———–力扣第 42 题「接雨水」挺有意思,在面试题中出现频率还挺高的,本文就来步步优化,讲解一下这道题。先看一下题目:就是用一个数组表示一...…

    2023-08-07
    LeetCode
    Expand »

  10. Parentheses problems

    Parentheses problemsLeetCode : 20. Valid Parentheses LeetCode Difficulty 20. Valid Parentheses Easy 921. Minimum Add to Make Parentheses Valid Medium 1541. Minimum Insertions to ...…

    2023-08-06
    LeetCode
    Expand »


← Previous 4 / 8 Next →

Copyright © Chris Zhong 2025

Total viewed times