My First Fall Recruitment Rejection — miHoYo
📅 Interview Date: July 21, 2025
🏢 Company: miHoYo
💼 Position: Frontend Development (Early Batch)
🧑💻 Overall Interview Review
Recently, many companies have started their fall recruitment. I received an invitation for the first round of miHoYo's early batch front-end interview last week and was quite excited, as the early batch is a cutthroat competition among top candidates.
Since my company had a lighter workload this week, I prepared by solving some LeetCode problems and reviewing common interview questions (a.k.a. “eight-legged essays”). On the day of the interview, it went pretty well—the intensity was slightly higher than the internship interview but still manageable. Below is my interview record (no recording, from memory only):
📝 Interview Questions Summary
1. Self-Introduction & Project Experience
- Self-introduction
- Introduce two projects:
- Internship project: D2C (Design-to-Code) efficiency improvements (e.g., Figma to Code automation)
- Business project: responsible for business modules or optimization scenarios
2. Frontend Fundamentals & Networking
Type checking methods in JavaScript
typeof: for primitive type checking,typeof null === 'object'instanceof: checks prototype chainObject.prototype.toString.call(): most preciseconstructor: unstable, may be modified- Compare their usage scenarios and pros/cons
Common methods for vertical centering
- Flex layout:
display: flex; align-items: center; - Grid layout:
display: grid; place-items: center; position: absolute + transform:top: 50%; transform: translateY(-50%)- Single-line text:
line-height table-cell: early compatibility solution
- Flex layout:
Complete flow from URL input to page rendering
- DNS resolution → TCP connection establishment (three-way handshake)
- Initiate HTTP request → receive response
- Parse HTML → build DOM & CSSOM → execute JavaScript → page rendering
Difference between Cookie, localStorage, and sessionStorage
Feature Cookie localStorage sessionStorage Lifetime Configurable Permanent Cleared on page close Storage size ~4KB ~5MB ~5MB Sent with requests? ✅ Yes ❌ No ❌ No Ease of access Moderate ✅ Easy ✅ Easy Browser caching mechanism
- Strong cache:
ExpiresandCache-Control - Conditional caching:
Last-Modified+If-Modified-Since,ETag+If-None-Match - When loading, check if cache strategy is hit
- Strong cache:
DNS resolution process
- Local cache → system cache → local hosts file
- Initiate recursive query to DNS server (root → TLD → authoritative)
CDN principles
- Content Delivery Network, caches static resources on edge nodes
- Relieves origin server pressure, improves response speed
- Has origin-fallback mechanism, automatically updates when cache expires
✍️ Coding Problem
Kth Missing Positive Number
✅ Problem Description:
Given a strictly increasing sorted array of positive integers arr, where some positive integers are missing, return the kth missing positive integer.
Conclusion
Take it easy. I was too confident in myself and didn't recognize my shortcomings. My educational background is indeed a major weakness in fall recruitment, but that's the objective reality, so there's nothing I can do about it... I'll strive to convert my internship into a full-time offer.
