2

【第三十六期】B站一面

 2 years ago
source link: https://studygolang.com/articles/35526
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.
neoserver,ios ssh client

【第三十六期】B站一面

itmrtan · 大约10小时之前 · 57 次点击 · 预计阅读时间不到 1 分钟 · 大约8小时之前 开始浏览    

总共36分钟,面试官很准时,没有写算法题。

介绍项目并提问

基于我实习期间学习了go语言(并且B站服务端用的也是go),提问了一些go语言的基础问题

go的值类型和引用类型

go的slice底层原理

go的GC机制

用go构造一个链表怎么做,想要从链表尾部插入,怎么做(我听到这个问题懵了一下?然后就基于ListNode和List结构体,说了一下,然后在List结构体里保存头尾指针这样)

B站app的页面分区怎么设计(这个一开始没想到应该怎么回答,最后回答的是数据库表的设计,主键和外键)

数据库的索引(不太记得问了什么)

介绍TCP和UDP的区别,说一下tcp的拥塞算法(四个)

你还有什么要问我的吗?


有疑问加站长微信联系(非本文作者))

280

入群交流(和以上内容无关):加入Go大咖交流群,或添加微信:liuxiaoyan-s 备注:入群;或加QQ群:701969077


About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK