Questions
Linux
Laravel
Mysql
Ubuntu
Git
Menu
HTML
CSS
JAVASCRIPT
SQL
PYTHON
PHP
BOOTSTRAP
JAVA
JQUERY
R
React
Kotlin
×
Linux
Laravel
Mysql
Ubuntu
Git
Y.Wang
Y.Wang has asked
3
questions and find answers to
0
problems.
Stats
15
EtPoint
0
Vote count
3
questions
0
answers
About
Y.Wang questions
Why do we have double hashing function as [(hash1(key) + i * hash2(key)) % TABLE_SIZE] but not simply as [(i * hash2(key)) % TABLE_SIZE]?
Why is using sorting (O(n log n) complexity) to find the majority element faster than using a HashMap (O(n) complexity)?
Y.Wang answers