惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

Simon Willison's Weblog
Simon Willison's Weblog
G
Google Developers Blog
Spread Privacy
Spread Privacy
I
InfoQ
V
V2EX
S
Schneier on Security
小众软件
小众软件
C
CERT Recently Published Vulnerability Notes
博客园 - 聂微东
奇客Solidot–传递最新科技情报
奇客Solidot–传递最新科技情报
Stack Overflow Blog
Stack Overflow Blog
T
Threat Research - Cisco Blogs
L
Lohrmann on Cybersecurity
Recent Announcements
Recent Announcements
Cyber Security Advisories - MS-ISAC
Cyber Security Advisories - MS-ISAC
Attack and Defense Labs
Attack and Defense Labs
云风的 BLOG
云风的 BLOG
The Hacker News
The Hacker News
S
SegmentFault 最新的问题
C
Cybersecurity and Infrastructure Security Agency CISA
NISL@THU
NISL@THU
OSCHINA 社区最新新闻
OSCHINA 社区最新新闻
GbyAI
GbyAI
Latest news
Latest news
S
Secure Thoughts
Project Zero
Project Zero
MongoDB | Blog
MongoDB | Blog
I
Intezer
Security Latest
Security Latest
Apple Machine Learning Research
Apple Machine Learning Research
Vercel News
Vercel News
N
Netflix TechBlog - Medium
V2EX - 技术
V2EX - 技术
量子位
T
Threatpost
T
The Blog of Author Tim Ferriss
Y
Y Combinator Blog
T
Tor Project blog
A
Arctic Wolf
Microsoft Security Blog
Microsoft Security Blog
T
The Exploit Database - CXSecurity.com
大猫的无限游戏
大猫的无限游戏
T
Tailwind CSS Blog
freeCodeCamp Programming Tutorials: Python, JavaScript, Git & More
C
Check Point Blog
博客园 - Franky
Google DeepMind News
Google DeepMind News
The Register - Security
The Register - Security
The GitHub Blog
The GitHub Blog
L
LINUX DO - 热门话题

博客园 - smile轉角

【js】ES5,ES6继承是如何实现的 【js】setTimeout、Promise、Async/Await 的区别 【js】js内置对象Error(错误机制) 【TS】学习笔记 【js】CommonJS、AMD、CMD三种规范 【其他】查看Animate.css官网动画没有效果 【vue3】父子组件通信之 vue3 defineProps,defineEmits ,defineExpose 【js】JS严格模式有什么特点 【css】使用弹性盒子布局时,省略号问题 【vue】 Failed to load resource: the server responded with a status of 404 (Not Found) 【第三方】富文本调研 【js】元素是否在可视区范围内 【js】json的相关操作 【vue3】资料 【css】展示背景图片的底部部分 【html】 svg 【html5】html5中input 标签 type值为range时,修改其默认css 【js】forEach,for...in,for...of 区别 【js】map,reduce,filter的区别
【面试题】思维逻辑方面
smile轉角 · 2023-04-13 · via 博客园 - smile轉角

1、有一个没有刻度的长方形的铁盒子,没有盖子,可以随意摆动,它的容积是 1升。请罗列出你能想到的:只使用这个盒子称量,列出你可以想到的能够准确地量出多少升的水?

答案:0.5L

2、排队,小明站在从前往后数的第x 个,从后往前数的第y 个,则小明所在的列共有多
少人?

答案:x + y - 1

3、桌子上有 3 只朝上的茶杯,每次翻转 2 只,经过多少次翻转可使得 3 只杯子的杯口全部朝下呢?

答案:不能
1表示上,0表示下
状态:111 -> 000 变化了
思路:搜索 枚举
111 -> 001 -> 100 -> 010-> …死循环 永远达不到000
会一直在集合【001 010 100】中跳转,出不去

4、四个人只提着一盏灯过隧道,通过隧道需要使用这一盏灯,隧道全程一次最多能过两个
人,每个人所需的时间分别为 1 分钟、2 分钟、5 分钟、10 分钟;求最快可以多长时间全部
通过?(写出过程)

答案:17分钟

A1     B2     C5    D10
A B过,2
A回 1
C D过 10
B 回 2
A B过2
答案:2+1+10+2+2=17分钟

5、有 500 份稀土样本,其中只有一份含有所需元素。现有昂贵的专用试纸仅会对该元素起
反应,可在 12 小时内测出该元素。问最少需要多少试纸进行测试,才能在 12 小时内检测出
哪份稀土样本含有所需元素?(写出过程或是思路)