leetcode one question a day 564 Difficult string splicing to find the number of recent palindromes \ special example input extended thinking

๐Ÿ“– Content of this article: Leetcode daily question 564 Difficult string splicing to find the number of recent palindromes \ special example input extended thinking ๐Ÿ“‘ Article column: leetcode daily question "punch in daily" ๐Ÿ“† Last updated: February 28, 2022 leetcode daily question 6 Z-shaped transformation simple string simulati ...

Posted by Lamez on Wed, 02 Mar 2022 11:55:10 +0100

Leetcode must Review Lintcode (70 1807 242 95 155)

70. Hierarchical traversal of binary tree II Give a binary tree and return its node values to traverse from bottom to top (traverse from the layer where the leaf node is located to the layer where the root node is located, and then traverse from left to right layer by layer) bfs can do bugfree. from typing import ( List, ) from lin ...

Posted by jrdiller on Wed, 02 Mar 2022 08:34:37 +0100

This article helps you understand how vue creates a background management system process (Vue+Element)

I think it's easy to give up a ballad, but it must be cool to stick to it 1 Preface This paper is based on my own work experience. If there is any unreasonability, please spit out 2 Definition Background management system what to add to a page deletion check is a bit similar, do not redefine 3First contact with background management syst ...

Posted by liro on Tue, 01 Mar 2022 19:04:21 +0100

JS: 3 binary heap questions and 7 interval questions

Small top pile Other languages can complete the function of small top heap with priority queue, but JavaScript without built-in function needs to write a small top heap. Interview questions should be used. At least you can copy a correct data structure. If handwriting is required, we can also remember from understanding. Previously wri ...

Posted by dcro2 on Tue, 01 Mar 2022 15:34:31 +0100

Force deduction question 160 Intersecting linked list

subject Here are the head nodes headA and headB of the two single linked lists. Please find and return the starting node where the two single linked lists intersect. If there is no intersecting node between the two linked lists, null is returned. As shown in the figure, two linked lists intersect at node c1: The title data ensures that ...

Posted by jesbin on Tue, 01 Mar 2022 14:21:24 +0100

Breadth first search depth first search dynamic programming LeetCode topic: transmitting information

original text https://lwebapp.com/zh/post/l...problemChild A is playing A message passing game with his friends. The rules of the game are as follows:There are n players. All players are numbered 0 ~ n-1 respectively, of which the number of child A is 0Each player has A fixed number of other players who can transmit information (or not). The re ...

Posted by koglakci on Tue, 01 Mar 2022 08:20:37 +0100

leetcode problem solving hash

4, Hash 1. 242 effective letter ectopic words Given two strings s and t, write a function to judge whether t is an alphabetic ectopic word of s. Note: if each character in S and t appears the same number of times, s and T are called alphabetic words. Source: LeetCode Link: https://leetcode-cn.com/problems/valid-anagram The copyright be ...

Posted by kustomjs on Mon, 28 Feb 2022 14:07:24 +0100

Leetcode must Review seventeen Lintcode (423 492 541 421 575)

423 ยท valid parenthesis sequence Given a sequence of parentheses represented by a string, it contains the following characters: '(', ')', '{', '}', '[' and ']' to determine whether it is a valid sequence of parentheses. Brackets must be expressed in the order of '()', '() [] {}' is a valid bracket, but '([)]' is an invalid bracket. ...

Posted by liljim on Mon, 28 Feb 2022 09:05:19 +0100

[leetcode SQL daily practice] - 1179 Reformat department table

๐ŸŽˆ Write in front ๐Ÿ™‹โ€โ™‚๏ธ Hello everyone, I'm super dream. You can call me Xiaomeng~ It's time to practice SQL again! Let's study together! ๐Ÿ™‹โ€โ™‚๏ธ If you don't understand anything in the learning process, you are welcome to leave a message and ask questions in the comment area. Xiaomeng will tell you everything. catalogue ๐ŸŒŒ ...

Posted by bmcua on Mon, 28 Feb 2022 00:10:41 +0100

Data structure - queue

Characteristics of queue First in first out (FIFO) Queue is called queue because of its characteristics. It's very similar to the queue in the supermarket, isn't it? The front keeps walking and the back keeps up In the queue, you can only insert at the back and delete at the front. The insert operation is also called enqueue, and the delete ...

Posted by skeener on Sun, 27 Feb 2022 13:19:52 +0100