Daily algorithm & interview questions, special training for large factories for 14 days - the fifth day (double pointer)
Reading guide
Fat friends, in order to better help new students adapt to algorithms and interview questions, we recently started a special assault step by step. In the last issue, we completed 21 days of dynamic programming, and now we will make a 14 day summary of various algorithms. What are you waiting for? Come to fat school for a 14 ...
Added by niclarke on Mon, 24 Jan 2022 21:23:14 +0200
Spring Boot 2.x basic tutorial: accessing MySQL using MyBatis
Previously, we have introduced two ways to access relational databases in Spring Boot:
Using spring boot starter JDBCUsing spring boot starter data JPA
Although Spring Data JPA is widely popular abroad, it is still the world of MyBatis in China. Therefore, in today's article, we will specifically talk about how to integrate MyBatis in Spri ...
Added by rhodrykorb on Mon, 24 Jan 2022 04:01:08 +0200
Dark horse programmer Concurrent Programming Notes
1. Talk about threads and processes
1.1. Process and thread concepts
What is a process?
It can be understood that a process is a running state of programs (instructions and data) stored in static resources (disk). Generally speaking, a process is a running program.
Note: the program consists of data and instructions. To read and wri ...
Added by hyp0r on Sun, 23 Jan 2022 17:49:54 +0200
Database index failure
Database index failure
Database index MySQL optimization (I) MySQL optimization (II) MySQL optimization (III) MySQL optimization (IV)
Common cases of index failure
or keyword in sql statement;The left column field is not used in the composite index;like starts with%;Type conversion required;There are operations in the index column in w ...
Added by petersen313 on Sun, 23 Jan 2022 13:47:54 +0200
Initialization of vue data rendering (vue source code analysis 1)
The following code and analysis process need to be combined with Vue JS source code view, through the break point one by one comparison.
I code
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>Title</title>
<script src="vue.js"></script>
</head>
<body& ...
Added by AcidDriver on Fri, 21 Jan 2022 01:02:56 +0200
LeetCode-208. Implement Trie (prefix tree)
Topic source
208. Implement Trie (prefix tree)
Title details
Trie (pronounced like "try") or prefix tree is a tree data structure used to efficiently store and retrieve keys in string data sets. This data structure has many application scenarios, such as automatic completion and spell checking.
Please implement the Trie class:
Trie() ...
Added by Josepheuan on Thu, 20 Jan 2022 11:02:00 +0200
Interview summary, overall process and technical problems
***
Describe yourself and your work experience (self introduction)
Self introduction: prepare well before the interview and express it fluently and methodically during the interview. It should be a bonus.
Background:
1. The interviewer has time to read your resume only when you introduce yourself. There are too many people to watch a ...
Added by hismightiness on Wed, 19 Jan 2022 14:24:55 +0200
Full of WebView optimized dry goods, let your H5 realize the second opening experience.
What is the difference between WebView and native?Baidu APP pictures are cited here to illustrate.Baidu developers divided the whole process into four stages and counted the average time-consuming of each stage.It can be seen that it took 260 ms to initialize the component, and the average time for the first creation was 500 ms. there is no dou ...
Added by bokehman on Tue, 18 Jan 2022 09:46:12 +0200
Interviewer: talk about HashMap through the source code
Catalogue
1, Implementation principle of hashmap
2, Extension mechanism
2.1 When to expand capacity
2.2 how to expand capacity
3, hash algorithm
Relationship between hashcode and equals
4, put and get methods of hashmap
5, The difference between hashmap and hashtable
5.1 hashmap
5.2 hashtable
summary
1, Implementatio ...
Added by shane0714 on Mon, 17 Jan 2022 22:05:39 +0200
html5 mobile web development has successfully won the offer of byte beating and Tencent
1, Foreword
The powerful effect of css3 animation is self-evident. Since its emergence, it has been hot, and its advantages and disadvantages with js animation have always been the topic of debate in the front-end industry. There is no doubt that the emergence of css3 animation reduces the difficulty of realizing animation effect to a certain ...
Added by kumarrana on Mon, 17 Jan 2022 08:35:05 +0200