-
Updated
Feb 5, 2020
interview
Here are 1,405 public repositories matching this topic...
-
Updated
Feb 5, 2020 - Python
-
Updated
Feb 5, 2020 - JavaScript
-
Updated
Feb 5, 2020 - Java
你的朋友正在使用键盘输入他的名字 name。偶尔,在键入字符 c 时,按键可能会被长按,而字符可能被输入 1 次或多次。
你将会检查键盘输入的字符 typed。如果它对应的可能是你的朋友的名字(其中一些字符可能被长按),那么就返回 True。
示例 1:
输入:name = "alex", typed = "aaleex"
输出:true
解释:'alex' 中的 'a' 和 'e' 被长按。
示例 2:
输入:name = "saeed", typed = "ssaaedd"
输出:false
解释:'e' 一定需要被键入两次,但在 typed 的输出中不是这样。
示例 3:
输入:name = "leelee", typed = "lleeelee"
输出:true
示例 4:
输入:name = "laiden", typ
-
Updated
Feb 5, 2020
-
Updated
Feb 5, 2020 - Python
-
Updated
Feb 5, 2020 - JavaScript
-
Updated
Feb 5, 2020 - JavaScript
-
Updated
Feb 5, 2020
-
Updated
Feb 5, 2020 - JavaScript
-
Updated
Feb 5, 2020 - C++
-
Updated
Feb 4, 2020
-
Updated
Feb 4, 2020 - JavaScript
-
Updated
Feb 5, 2020 - JavaScript
-
Updated
Feb 5, 2020 - Java
-
Updated
Feb 5, 2020
-
Updated
Feb 5, 2020 - Jupyter Notebook
🚀 Feature Proposal
Adding leading zero in the question number will be an awesome feature for file explorer to sort files by the name.
-
Updated
Feb 5, 2020 - JavaScript
## Python/Regex fix
This is a reminder for me or a task if anyone wants :P
Basically, The last two questions aren't really regex's questions.
To do:
- Move said questions to correct place.
- Add new regex questions (Python related!)?
- Maybe add a new ## Regex section, as it is a valuable skill
Improve this page
Add a description, image, and links to the interview topic page so that developers can more easily learn about it.
Add this topic to your repo
To associate your repository with the interview topic, visit your repo's landing page and select "manage topics."

There are some interesting algorithms in simulation from Physics, Chemistry, and Engineering especially regarding Monte Carlo simulation: Heat Bath algorithm, Metro-Police algorithm, Markov Chain Monte Carlo, etc.