“I am one of the world’s oldest remaining world” s 20 years of unused hand-written source code are a little rusty
One side (video side 1 hour) February 21
-
To introduce myself
-
CSS layout, clear float method, what is BFC, how to trigger
-
Can you write a bind and apply by hand
-
Handwritten promise source code, in addition to the promise. All method and promise. Race method
-
What is the difference between a deep copy and a shallow copy? Write a deep copy function that can handle circular references and dates and regs
-
Implement JS sort API, the specific sorting algorithm to determine their own, here I chose the fast row
-
Algorithm to merge two ordered linked lists
-
Algorithm, after an ordered array is reversed, find the KTH largest element (time complexity is less than or equal to nlogn)
-
What are the new apis for ES6? Talk about each in detail
-
Vue response type principle, read the source code
-
The principle of the Vue diff algorithm, here I talk about vue diff and React diff, and analyze their similarities and differences
-
Difference between HTTP and HTTPS
-
The process of a URL from input to page presentation
-
HTTPS handshake, the details of the process
-
Several methods to determine data types, advantages and disadvantages, implementation
Second interview (video interview for 1 hour) on February 21
-
Learn about React
-
React setState, is it subtree rendering or whole tree rendering or something else?
-
Is setState asynchronous or synchronous, and what mechanism is used internally
-
React event? What is the difference between a synthetic event and an ordinary event? How does it work
-
React Fibber? (Only time slice rotation algorithm, scheduling strategy)
-
React Diff (last_index)
-
Algorithm to determine whether a string is a palindrome string
-
Algorithm, Maximum Continuous Subsequence (DP)
-
The instanceOf principle, hand write an instanceOf
-
React is developed in several ways
-
React: Pros and cons of writing a function versus a class
-
What are the two new life cycles for the React component and what do they do
-
React Hook? Which hooks have been used
-
React High-order components react high-order components react high-order components
-
When and what can you do with useRef
-
Algorithm, linked list inversion
The whole process is quite stressful, and the technical stack used by the project team is my favorite React+typescript stack