Home All Articles Tags About
img

Chris Zhong

Software Engineer

Chris Zhong

Personal Blog

Welcome to my blog


  • Home
  • All Articles
  • Tags
  • About
  1. 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 »

  2. Water trapper problems

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

    2023-08-07
    LeetCode
    Expand »

  3. 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 »

  4. Pan cake sorting

    烧饼排序 LeetCode 力扣 难度 969. Pancake Sorting 969. 煎饼排序 🟠 ———–力扣第 969 题「煎饼排序」是个很有意思的实际问题:假设盘子上有 n 块面积大小不一的烧饼,你如何用一把锅铲进行若干次翻转,让这些烧饼的大小有序(小的在上,大的在下)?设想一下用锅铲翻转一堆烧饼的情景,其实是有一点限制的,我们每次只能将最上面的若干块饼子翻转:我们的问题是...…

    2023-08-05
    LeetCode
    Expand »

  5. Deploy Application, CICD pipeline

    Deploy ApplicationIntelliJ -> GitHub -> Jenkins -> DockerHub -> Kubernetes -> AWSHow To Push a Docker Image To Docker Hub Using JenkinsJenkins 将 Docker 映像部署到 Kubernetes write code in IntelliJ and then push to GitHub Jenk...…

    2023-06-25
    Microservices
    Expand »

  6. Knowledge

    TDD (Test Driven Development)What is TDD?Test Driven Development (TDD) is a software development process that relies on the repetition of a very short development cycle: first the developer writes an (initially failing) automated test case that de...…

    2023-06-24
    Microservices
    Expand »

  7. Transaction in microservices

    Transaction in microservices2-phase commit2-phase commit is a widely used pattern to implement distributed transaction management.It has two phases: Prepare phase: The coordinator asks the participating nodes whether they are ready to commit....…

    2023-06-24
    Microservices
    Expand »

  8. Swagger

    SwaggerWhat is Swagger?Swagger is a tool that can be used to document APIs. It can be used to generate documentation for APIs. Swagger can also be used to test api endpoints on the swagger UI.How to use Swagger in Spring Boot?To use swagger: ...…

    2023-06-23
    Microservices
    Expand »

  9. Spring Cloud Config

    Spring Cloud ConfigWhere do you store your configuration file when you use microservices?Spring Cloud Config is a centralized place to store the configuration file for all microservices. In a monolithic application, we can store the configura...…

    2023-06-22
    Spring Framework
    Expand »

  10. microservices communication

    How do microservices communicate?Synchronous CommunicationHTTP RequestsMicroservices communicate with each other using HTTP requests. Each microservice has its own REST API. In Spring Boot, we can use the RestTemplate class to make HTTP requests.E...…

    2023-06-21
    Microservices
    Expand »


← Previous 5 / 9 Next →

Copyright © Chris Zhong 2025

Total viewed times