JIYIK CN >

Current Location:Home > Learning > ALGORITHM >

All

Strategy Design Pattern and Open-Closed Principle in Java

Publish Date:2025/03/19 Author:JIYIK Category:ALGORITHM

The Strategy design pattern is based on the Open/Closed design principle , the famous " O SOLID " of design principles . It is one of the patterns that has become popular in the field of object-oriented analysis and design, along with the D...

Full

Difference between Proxy Mode and State Mode in Java

Publish Date:2025/03/19 Author:JIYIK Category:ALGORITHM

Difference between Proxy Mode and State Mode in Java

Hi guys, if you are preparing for Java interview and looking for difference between Proxy and State design pattern, then you are at the right place. In the past, I have explained several important object-oriented design patterns like State,...

Full

How to use Strategy Pattern in Java?

Publish Date:2025/03/19 Author:JIYIK Category:ALGORITHM

How to use Strategy Pattern in Java?

Hi everyone, you might have heard, “Can you tell me about any design pattern other than Singleton design pattern that you have used recently in your project?”. This is one of the popular questions in various Java interviews in recent ye...

Full

Design Patterns in Java - Visitor Pattern

Publish Date:2025/03/19 Author:JIYIK Category:ALGORITHM

Design Patterns in Java - Visitor Pattern

Today, we are going to learn one of the most useful patterns, the Visitor Pattern. What is the Visitor pattern? Well, let's look at an example. Let's say you're a software engineer working at a university. The university rarely has establis...

Full

Base64 encoding pitfalls: ID card number fuzzy query

Publish Date:2025/03/19 Author:JIYIK Category:ALGORITHM

First, I will dig out the pits I encountered in the project. In our project, there is such a requirement that the user's ID number cannot be stored in plain text when it is stored in the database. In view of such a requirement, it is natura...

Full

My understanding of the Paxos algorithm

Publish Date:2025/03/19 Author:JIYIK Category:ALGORITHM

My understanding of the Paxos algorithm

In a distributed system, a core issue is data consistency. Therefore, the consistency algorithm is of utmost importance in a distributed system. The Paxos algorithm is designed to solve the consistency problem, but it has always been consid...

Full

Distributed thinking in Memcached

Publish Date:2025/03/19 Author:JIYIK Category:ALGORITHM

Distributed thinking in Memcached

Memcached is known as a high-performance distributed cache system. Speaking of distribution, Memcached is worth analyzing. Its distribution mechanism is different from that of general distributed service systems. In distributed service syst...

Full

PHP finds the common prefix of multiple strings [Case]

Publish Date:2025/03/19 Author:JIYIK Category:ALGORITHM

This article shares with you the application of a small algorithm - finding the common prefix of a string array: array ( 'abcdefg' , 'abcdfio' , 'abcdqle' ) In the above array string, the common prefix is ​​'abcd'. The first thing that...

Full

The road to learning sorting algorithms - Radix Sort (MSD)

Publish Date:2025/03/19 Author:JIYIK Category:ALGORITHM

In the article "Radix Sort (LSD)" , we explained the concept and efficiency analysis of radix sort. We will not repeat it in this article. You can refer to that article to get a general understanding of the idea of ​​radix sort. Next, w...

Full

Learning the Sorting Algorithm - Radix Sorting (LSD)

Publish Date:2025/03/19 Author:JIYIK Category:ALGORITHM

Radix Sort : It is a non-comparative integer sorting algorithm. The basic principle of radix sorting is to group integers according to the number of digits in the integer. In the grouping process, the missing digits are filled with 0. Accor...

Full

Core code of commonly used sorting algorithms

Publish Date:2025/03/19 Author:JIYIK Category:ALGORITHM

In the article "Common Sorting Algorithms", we briefly introduced the ideas and implementation steps of various sorting algorithms. In this article, I will share the core codes of these sorting algorithms with you. The complete code of all...

Full

Learning the Sorting Algorithm - Insertion Sort (Concepts)

Publish Date:2025/03/19 Author:JIYIK Category:ALGORITHM

Learning the Sorting Algorithm - Insertion Sort (Concepts)

What is "insertion sort"? The concept is as follows: each time a record to be sorted is inserted into the previously sorted sequence according to its key size, until all records are inserted. Concepts are always somewhat abstract, and can a...

Full

Scan to Read All Tech Tutorials

Social Media
  • https://www.github.com/onmpw
  • qq:1244347461

Hottest

Tags

Scan the Code
Easier Access Tutorial