shfshanyue / daily-question Goto Github PK
View Code? Open in Web Editor NEW互联网大厂内推及大厂面经整理,并且每天一道面试题推送。每天五分钟,半年大厂中
Home Page: https://q.shanyue.tech
互联网大厂内推及大厂面经整理,并且每天一道面试题推送。每天五分钟,半年大厂中
Home Page: https://q.shanyue.tech
如 172.16.0.0/27
的IP范围是多少
问题追问:
flex: 1
时,则追问它是那几个属性的简写,最主要配置的是哪一个属性相关问题:
在编写脚本时,有时会出现内存过大发生 OOM 的事情,那我们如何得知某个进程的内存?另外又如何监控它
如何使用 react hooks 实现最简单一个计数器的组件
为了保证最最简单化,不需要暂停与开始状态
追问:
leading
后端的敏感数据在生产环境是如何配置的,如数据库的账号密码,jwt 的 secret,联调上游服务的 token 等
网站开发中,如何实现图片的懒加载,随着 web 技术的发展,他有没有一些更好的方案
有没有使用过 react hooks,它有哪些优缺点?
要求对行内元素、块状元素及不定宽高的块状元素均可适用:
可打开 codepen 进行调试: https://codepen.io/shanyue/pen/XWMdabg,以下是布局代码
<div class="container">
<div class="item" style="width: 100px; height: 100px; background: #999;">
块状元素
</div>
</div>
<div class="container">
<div class="item">不定高宽的块状元素</div>
</div>
<div class="container">
<span class="item">行内元素</span>
</div>
.container {
// 把代码写在这里
}
.container {
height: 20rem;
background: #ccc;
margin: 1rem;
}
提供以下测试用例,注意第二条测试用例,因此 bind 可实现 _.partial(func, [partials])
类似功能
function f (b) {
console.log(this.a, b)
}
//=> 3, 4
f.fakeBind({ a: 3 })(4)
//=> 3, 10
f.fakeBind({ a: 3 }, 10)(11)
相关问题:
在一些博客系统,如掘金的博客中,可以复制代码,它是如何实现的
一个学校中的每个学生属于一个班级,如何获取每个班的前三名
假设有学生表 student(id, score, class_id)
,score
代表分数,class_id
代表班级,如何写出 SQL 取每个班级分数前一名
与 Top n 类似,不过有更简单的方法
(当然考虑到并列情况就会复杂很多
一个学校中的每个学生属于一个班级,如何获取每个班的前三名
假设有学生表 student(id, score, class_id)
,score
代表分数,class_id
代表班级,如何写出 SQL 取每个班级分数前三名
如何获取浏览器的唯一标识,原理是什么
假如一个学校有以下数据结构
Class
: 代表班级Student
: 代表学生,每个学生都在其中一个班级那假如要向 Class:201901
班级的所有学生发送通知,应该如何实现
如何实现一个 loading 动画,可用 css 或 svg
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.