当前位置:网站首页>2022 ByteDance daily practice experience (Tiktok)
2022 ByteDance daily practice experience (Tiktok)
2022-07-04 18:52:00 【Gu Jiaming】
6 Month is too busy , I won't update the technical article this month , To share with you a ByteDance client experience , I hope that's helpful ~
Overall timeline
- 6 month 6 Number , Push your resume on the official website of byte .6 No. In the evening 21 spot 02 branch ,HR Make a phone appointment , About 15 No. In the evening 17:00 interview .
- 6 month 15 No. In the evening 17:00 one side , For an hour .
- 6 month 16 At noon, 11:08 branch ,HR Call once , I have an appointment 6 month 20 No. In the evening 19 Two sides .
- 6 month 20 The night of the March ,18:48 branch HR Little sister called to inform , The interviewer is in a meeting , Need to postpone 15 minute , Change it to 18:15 Two sides , Interview duration 75 minute .
- 6 month 21 At noon, 11:20 about ,HR Little sister, add me to wechat , I thought happiness came , The result is to ask me for three meetings tomorrow -_-!. About 22 Afternoon of 18:00 Call for an interview .
- 6 month 22 No. In the evening 18:00 On three sides , For an hour .
- In the evening ,22 No. In the evening 8:20,HR Call , The process is over , I made an appointment tomorrow afternoon 16:00HR Noodles .
- 23 Afternoon of 16:00HR Noodles , Duration 45 minute .
- 24 At noon, 13:00 Know that the interview has passed ,offer Under approval .
one side : Flying book video surface , An hour

Introduce yourself briefly
Challenging things encountered during the project
Pick two items on your resume
- First project :
Light effect page download 20 Multi frame graph optimization scene : Consider using a queue , Take several pictures at the same time , Instead of for loop .
Advertising page demand : Flash screen file download time ?
- Another project , I simply asked where the chat data exists ?
SharedPreference internals , Why the performance is not good ?
Activity Life cycle of , One Activity Open another Activity The life cycle of experience , Start a transparent Activity Will experience the life cycle .
Activity The boot process .
Have you ever used a memory leak detection tool ?LeakCanary Introduce the principle ? Why? LeakCanary To manually call once gc()?
GC Recycling mechanism ?
View Event distribution mechanism ? The parent class intercepted down After the event , Can subclasses still receive events ?
Write a thread safe static inner class singleton .
Why not volatile Keywords will have thread safety problems ?
volatile How to guarantee the visibility and atomicity of keywords , What is the principle ?
Algorithm : Rainwater collection
Ask questions :
How did I do in the interview today ?
- Not bad , The foundation is very good .
What suggestions do you have for me or where I need to improve ?
- It's pretty good overall .
department base Where is the ?
When will the interview result come out ?
- etc. HR notice
Two sides , Flying book video surface ,75 minute

Introduce yourself briefly
Talking about projects , stay DNF What businesses have been done in the assistant project ? Specific business scenarios ?
What image loading library is used for loading in the project ? If you implement an image loading Library , How do you think ?
- Cache policy : Memory + The local store .
- How to clear expired pictures in your local ? When caching pictures , The effective time of adding pictures to the cache path , The next time the user uses the image to load the Library , Clean up expired pictures .
- Thread pool
Does the project have a scenario of using lists (RecyclerView),RecyclerView Let's talk about the internal principle of ( Cache policy )?
For different types of children View,RecyclerPool Can cache pools be reused ?
- stay RecyclerPool in , Use a two-tier list to store reusable HolderView. The first floor goes through viewType Get the reuse list of the specified type . The second layer is the corresponding type of reusable holderView. The default size of the second level list is 5.
- So the answer is , Different types of holderView, Different cache pools are stored , Therefore, they cannot be reused .
You're using RecyclerView when , How to optimize RecyclerView Page performance ?
- Congzi View Of Xml Start with the structure , Think about how to optimize View The hierarchy of , Reduce View Measurement consumption . Try to cache the data that can be cached .
- If the page user slides very frequently , Customization may be required RecyclerView Cache pool size .
You just mentioned View Measurement consumption , Can you talk about how to optimize it in detail ?
- Try to reduce boys View The hierarchy of , Different ViewGroup Its measurement process is also different , such as , Simple layout LinearLayout Performance ratio of RelativeLayout Higher .
Then I asked View The measurement process of , top View Of MeasureSpec Objects and children View Of MeasureSpec How to create objects ?View What is the measurement process after measurement ?
Then two program questions :
- The first one is related to the task stack , Investigate Activity Start mode of : In stack reuse mode ,taskAffinity attribute .
- The second thread , Ask you how to make multiple threads execute sequentially .
From the second program question to Handler Mechanism , Chat Handler The principle of mechanism ?Handler And Looper Correspondence of ?
Last , An algorithm problem :
Given an unordered array , The value will only have 1,2,3. Ask for in O(n) Sort the array in ascending order in time , Data structures cannot be added ( Array , Linked list ,map), Allow new variables .
namely :[1, 2, 3, 3, 2, 1, 3, 2, 1] -> [1, 1, 1, 2, 2, 2, 3, 3, 3].
The train of thought is : Just put all the smallest 1 Move to the leftmost side of the array , Put all the biggest 3 Move to the far right of the array , It can satisfy one-time traversal to complete sorting . Maintain two indexes , The first index maintains the last one on the left of the array 1 Next position of , The second index maintains the first on the right of the array 3 The previous position of . Then traverse in sequence , Compare the values of elements , Then exchange .
Ask questions :
What is the specific business of our department ?base Where exactly is Shenzhen ?
My interview performance ?
In the next few minutes , gossip , The interviewer asked , Are there any other companies at present , There are a few offer?
At present, I am studying a , How to arrange my internship time ?
On three sides , Flying book video surface , An hour

The third side , I can only say , The noodles are rotten .
It's just noodles 2 Algorithm questions , None of them are made together . It's not difficult , It's the thought that got stuck , I can't believe it , I collapsed. .
The first , Play poker , Take one at a time , Then put the next one at the back , Then draw the next one in sequence , Repeat the above operation . Until you finish playing cards in your hand .
There is another one in the middle : every other k Elements , Rotate the linked list once . I will answer this question , But the interviewer said java There is no linked list , You have to do it yourself , It's troublesome , So I changed it .
The second way , Realize the root opening . Easy !, I didn't write it out , I'm stupid ! I'm really stupid !
Three sides come down in an hour , There are only three questions left in my heart : Who am I ? Where am i? ? Where am I going ??
Wry smile, hahahaha ...
Ask questions :
( I'm stupid after meeting , I don't know what to ask , Asked two random questions , The interviewer saw that I was depressed , And comforted me , It will be seen from the results of other two sides , Not necessarily .)
My interview performance ?
Any suggestions ?
After the third side , Is this the end ? did not !!
I'm still doing poorly for the interview , Low mood , When you are ready to go out of the dormitory and find something to do , There is a call from Sichuan .
Sichuan phone ? Who? ? Could it be that a few days ago 618 I haven't picked up the express I bought , Brother, call me and let me get it ?
Whatever , Answer
“ feed , Hello ?”
“ EH , Hello , Is this Gu Jiaming ? I'm Tiktok HR”
My heart , Um. ?! Should not ? Or did you send a thank-you letter so soon ?
“ Um. , Yes ”
“ Um. , Your interview process has been completed , Next, I'll make an appointment with you HR Noodles oh , Are you free tomorrow afternoon ?”
My heart ,!!!!!!!!!!!!!!!!!!!!
“ Wow, wow , I'm free tomorrow afternoon !”
My god ! I didn't expect there was another story ! I must have performed well on the first two sides , My god !!!!

Look at the picture to know my mood ~ Ha ha ha
HR Noodles , Flying book video surface ,45 minute
Mainly talking . Asked a lot of questions about the development project during the internship , For example, the difficulties you encounter when developing this project ? How did you solve it ? What impressed you in the development process ? What to do in case of disagreement in the development process .
If time goes back to when you just started your internship, it will , What adjustments will you make ?
If two colleagues quarrel , What should you do at this time ?
What is your technical plan after you enter the company ? You think after you enter bytes , How long does it take to get started ?
If you enter the company , Find that the people around you are better than you, or that you are not as good as you think , How would you react ?
For those who are better than you , How do you improve yourself to catch up with him ? How to learn ?
If you enter byte internship , Your last internship , How does it help you practice in byte ?
How do you arrange your spare time ?
When can I start my internship , How long can I practice ?
Are there any other companies you are meeting now ? Which companies did you vote for ? There's something else in hand offer Do you ?
Ask questions
What is the working schedule of the company ?
24 The internship will last until next year , Is there any chance of becoming a regular ?
Last ,HR The next day , I learned at noon that the interview has passed , Check the application record process on the official website , Interview completed :

Brother dei, If you think I wrote well , Please do me a favor
- Give me some praise , Inspire me , At the same time, this article can be seen by more people ,(#.#)
- Don't have to Collection , Hey, don't order , Why did you order ? I'm so sorry !
- Oh ! also , I maintain a Routing Library .. Nothing else , Just mention , I maintain a Routing Library =.= !!
Come on come on , Thank you !
边栏推荐
- Scala基础教程--17--集合
- 一直以为做报表只能用EXCEL和PPT,直到我看到了这套模板(附模板)
- Imitation of numpy 2
- Improve the accuracy of 3D reconstruction of complex scenes | segmentation of UAV Remote Sensing Images Based on paddleseg
- 中国农科院基因组所汪鸿儒课题组诚邀加入
- [HCIA continuous update] WAN technology
- 【210】PHP 定界符的用法
- People in the workplace with a miserable expression
- 同事悄悄告诉我,飞书通知还能这样玩
- [mathematical modeling of graduate students in Jiangxi Province in 2022] analysis and code implementation of haze removal by nucleation of water vapor supersaturation
猜你喜欢

ByteDance dev better technology salon was successfully held, and we joined hands with Huatai to share our experience in improving the efficiency of web research and development

ISO27001认证办理流程及2022年补贴政策汇总

被忽视的问题:测试环境配置管理

输入的查询SQL语句,是如何执行的?

力扣刷题日记/day7/2022.6.29

Blue bridge: sympodial plant

Open source PostgreSQL extension age for graph database was announced as the top-level project of Apache Software Foundation

【2022年江西省研究生数学建模】冰壶运动 思路分析及代码实现

【2022年江西省研究生数学建模】水汽过饱和的核化除霾 思路分析及代码实现

I always thought that excel and PPT could only be used for making statements until I saw this set of templates (attached)
随机推荐
fopen、fread、fwrite、fseek 的文件处理示例
How to improve development quality
Redis主从复制
激进技术派 vs 项目保守派的微服务架构之争
输入的查询SQL语句,是如何执行的?
Wireshark抓包TLS协议栏显示版本不一致问题
谷粒商城(一)
用于图数据库的开源 PostgreSQL 扩展 AGE被宣布为 Apache 软件基金会顶级项目
LD_LIBRARY_PATH 环境变量设置
With an estimated value of 90billion, the IPO of super chip is coming
Scala基础教程--17--集合
中国农科院基因组所汪鸿儒课题组诚邀加入
Five thousand words to clarify team self-organization construction | Liga wonderful talk
网上开户安全吗?是真的吗?
[go language question brushing chapter] go conclusion chapter | introduction to functions, structures, interfaces, and errors
ISO27001 certification process and 2022 subsidy policy summary
Tutorial on the use of Huawei cloud modelarts (with detailed illustrations)
Machine learning concept drift detection method (Apria)
Redis master-slave replication
2022年字节跳动日常实习面经(抖音)