Tag:subject

  • Leetcode interview question 08.03. Magic index | Python

    Time:2020-11-29

    Interview question 08.03. Magic index Source: leetcode https://leetcode-cn.com/problems/magic-index-lcci subject Magic index. In the array a [0… N-1], there is a so-called magic index, which satisfies the condition a [i] = I. Given an ordered integer array, write a method to find magic index, if any, find a magic index in array a, if not, return […]

  • Share a plug-in that converts the AC title in leetcode into markdown table

    Time:2020-11-23

    Background: when writing a blog, every time you add a new leetcode solution, you need to check theLeetCode/READMEIt’s very hard to update the table manually. So it was conceivedcrd-leetcode-cliThe plug-in realizes automatic synchronous update of leetcode AC, and the solution is markdown table. crd-leetcode-cli CRD leetcode cli providesleetcodeThe ability to convert AC topics into markdown […]

  • C practical exercise topic 12

    Time:2020-11-16

    Title:Determine the prime between 101 and 200. Program analysis:How to judge a prime: use a number to remove 2 to sqrt (this number). If it can be divisible, it means that this number is not a prime, otherwise it is a prime. example: #include int main() { int i,j; int count=0; for (i=101; i<=200; i++) […]

  • Front end interview 3 + 1 per day (Zhou Huizong 2020.05.24)

    Time:2020-11-16

    In the Analects of Confucius, Zeng Zi said:“I look at myself three times a day”I reflect on myself many times a day.Front end interview daily 3 + 1 questions, with interview questions to drive learning, every day progress a little bit!Let effort become a habit, let struggle become a kind of enjoyment!believeinsistThe power of!!! Learning […]

  • Leetcode 93. Recover IP address | Python

    Time:2020-11-14

    93. Recover IP address Source: leetcode https://leetcode-cn.com/problems/restore-ip-addresses subject Given a string containing only numbers, recover it and return all possible IP address formats. A valid IP address consists of exactly four integers (each between 0 and 255) separated by a ‘.’. Example: Input: “25525511135” Output: [“255.255.11.135”, “255.255.111.35”] Thinking of problem solving Idea: backtracking Let’s look […]

  • Binary search tree of leetcode problem solving series

    Time:2020-11-10

    Binary search tree Advertisement: Recently, GitHub has opened a new warehouse may nodes, including but not limited to the related database, computer operating system, java basic knowledge, computer network and leetcode algorithm problem solving knowledge. Pdf documents and resources for learning will also be sorted out. Small partners in need can pay attention to andstar。 […]

  • Leetcode 130. Surrounded region | Python

    Time:2020-11-9

    130. Surrounded area Source: leetcode https://leetcode-cn.com/problems/surrounded-regions subject Given a two-dimensional matrix, it contains‘X’and‘O’(Letter O)。 Find all the‘X’Around the area, and put all of these areas in‘O’use‘X’fill. Example: X X X X X O O X X X O X X O X X After running your function, the matrix changes to: X X X X […]

  • The eighth issue of leetcode algorithm weekly

    Time:2020-11-5

    The official account of WeChat’s public front growth story is written in 2020.05.07. background This paper records the whole thinking process in the process of writing questions for reference. The main contents include: Assumption of topic analysis Code validation Refer to others solution Reflection and summary catalog 155. Minimum stack 160. Intersecting linked list 167. […]

  • Power button brush question plug-in

    Time:2020-10-31

    Before that, I made a video to introduce my browser extension. The video address is: https://www.bilibili.com/vide… 。 Today, I added some company’s display and optimized some experience functions on the basis of last time. What can the title brush plug-in do? When you are on any non topic detail page or any topic detail page […]

  • BFE.dev Find the biggest difference

    Time:2020-10-29

    bfe.dev Is a front-end brush Title website, like the front-end leetcode. This series of articles is my writing diary. Topic 107 BFE.dev#107 Find the biggest difference The title is relatively simple, directly on the code Obviously, the biggest difference comes from the largest number minus the smallest number, and the following code is obvious. Merge […]

  • Flutter listview, radio, checkbox and textfield realize the list of questionnaire questions

    Time:2020-10-27

    stayLast articleList view nesting listview scrolling We have done questionnaires and test papers, and know that the list of topics includes: the topics of large questions, the topics of small questions, and the options of small questions. To do this layout, we need to use many components. First, the listview displays the list of topics […]

  • Review regular in one minute

    Time:2020-10-26

    In the usual work will often encounter regular, but I found that every time I forget how to write, so here a little review summary Look at the question first /*Topic 1*/ var str1 = ‘123456765464153513566’ //Divide numbers by a comma every three (from back to front) //For example, 1234 to 1234 /*Topic 2*/ var […]