• [daily algorithm / brush through leetcode] 1 Sum of two numbers (simple)

Time：2022-5-4

Click here to view more content related to algorithmic interview~ Title Description Given an integer array nums and an integer target value target, please find the two integers with sum as the target value in the array and return their array subscripts. You can assume that each input will correspond to only one answer. However, […]

• [daily algorithm / brush through leetcode] 2 Add two numbers (medium)

Time：2022-5-3

Click here to view more content related to algorithmic interview~ Title Description Give you two non empty linked lists to represent two non negative integers. They store each number in reverse order, and each node can store only one number. Please add the two numbers and return a linked list representing sum in the same […]

• Game theory Nim Game 2 (hh2048 question sheet)

Time：2022-5-2

[main idea of the title]: Simple nim# output the number of schemes in the first step [idea]: The NIM part is an ordinary NIM. The difficulty is to output the number of schemes in the first step. Suppose x is the value after XOR. x = a1 ^a2 ^ a3 ^ a4 ^ a5 。 […]

• [daily algorithm / brush through leetcode] 4 Finding the median of two positively ordered arrays (difficult)

Time：2022-5-1

Click here to view more content related to algorithmic interview~ Title Description Give two positively ordered (from small to large) arrays nums1 and nums2 of sizes m and n. Please find and return the median of these two positive arrays. Advanced: can you design an algorithm with a time complexity of \$o (log (M + […]

• draft

Time：2022-5-1

Hello, children. I’m your teacher Yi. Let’s learn the double insertion problem together today. [1.9 seconds] let’s take a look at the topic first. After moving the decimal point of a number to the right by one digit, the number obtained is 108 more than the original number. What is the original number? After reading […]

• Practice getting started with CF’s website

Time：2022-4-30

Topic details – thieves and matches – Dream chasing algorithm network (mangata. Ltd)

• [daily algorithm / brush through leetcode] 5 Longest palindrome substring (medium)

Time：2022-4-30

Click here to view more content related to algorithmic interview~ Title Description Give you a strings, findsThe longest palindrome substring in. Example 1: Input: S = “babad” output: “bab” Explanation: “ABA” is also the answer to the question. Example 2: Input: S = “CBBD” output: “BB” Example 3: Input: S = “a” output: “a” Example […]

• [daily algorithm / brush through leetcode] 6 Zigzag transformation (medium)

Time：2022-4-29

Click here to view more content related to algorithmic interview~ Title Description A given stringsAccording to the given number of rowsnumRows, from top to bottom, from left to rightZFont arrangement. For example, the input string is”PAYPALISHIRING”When the number of rows is 3, the arrangement is as follows: P A H N A P L S […]

• [daily algorithm / brush through leetcode] 7 Integer inversion (simple)

Time：2022-4-28

Click here to view more content related to algorithmic interview~ Title Description Given a 32-bit signed integer, you need to reverse the number on each of the integers. be careful: If the − environment has an integer of ^ \$1}, we can only store the value of ^ \$2} in the range of ^ \$31 […]

• [daily algorithm / brush through leetcode] 9 Palindromes (simple)

Time：2022-4-25

Click here to view more content related to algorithmic interview~ Title Description Determine whether an integer is a palindrome number. Palindromes are integers that are read in the same order (from left to right) and reverse order (from right to left). Example 1: Input: 121 Output: true Example 2: Input: – 121 Output: false Explanation: […]

• [daily algorithm / brush through leetcode] 10 Regular expression matching (difficult)

Time：2022-4-23

Click here to view more content related to algorithmic interview~ Title Description Give you a stringsAnd a character rulep, please implement a support’.’and’*’Regular expression match. ‘.’Match any single character ‘*’Matches zero or more previous elements The so-called matching is to cover the whole stringsInstead of a partial string. Example 1: Input: S = “AA” P […]

• [daily algorithm / brush through leetcode] 12 Integer to Roman numeral (medium)

Time：2022-4-21

Click here to view more content related to algorithmic interview~ Title Description Roman numerals contain the following seven characters: I, V, x, l, C, D and m. Character value I 1 V 5 X 10 L 50 C 100 D 500 M 1000 For example, the Roman numeral 2 is written as II, which is […]