wr
hn
Top
New
Best
Ask
Show
Jobs
Back
r
random_coder
Joined 13 years ago
Karma
76
Submissions
46
Member since
Jul 23
View on Hacker News
Recent submissions
Comment · 1 year ago
I think you're right and the given answer of 596 is wrong. It's 380 m-w, 190 m-m, 45 w-w handshakes, so 615 in total.
Comment · 2 years ago
Also, a co-author of the Raft consensus algorithm.
Comment · 3 years ago
What's wrong with talking about animals anyway? Truly bizarre.
Comment · 3 years ago
A neat trick indeed, using bitsets in a sliding window. Contest programming makes heavy use of some such tricks.
Comment · 4 years ago
Hi Peter, thanks a lot for doing this. I have a h1b from 2012, i worked in the us for an year using it and returned to my home country. Is it of any use to me now, can i be cap exempt or its validity has expired and I will need a new one?
Regards
Comment · 4 years ago
It's a joke.
Comment · 4 years ago
Best to forget about that interview and focus on future ones. Frontend engineering doesn't mean you can ignore performance issues in your programs. Binary trees are a very useful data structure to know in general. Ordered collections in many languages' standard libraries are internally implemented as balanced binary trees. It's good to have at least a high level understanding of this data structure.
Comment · 4 years ago
Could you share your VR development setup? PC specs, which platforms/devices do you develop for etc...
Comment · 4 years ago
Each letter is given a weight and it's multiplied by the length of the word it's part of to get its effective weight. Sum it up for all letters and you get the final score. Here, it seems like two 10 letter words can be formed using the given 20. Hint - blackboard is one such word.
Comment · 5 years ago
You say it's a superset of C that compiles to C. But why does your example with main() look like Python? It's certainly not valid C code.
The Utility of Mathematics
c
catb.org
60
random_coder
5 years ago
16
comments
Comment · 5 years ago
Usually SICP is recommended as a follow up to HtDP. It's freely available at
https://mitpress.mit.edu/sites/default/files/sicp/full-text/...
Comment · 6 years ago
I wake up early at 4AM, make a cup of coffee for myself, play 15 min of chess and study Spanish for another 15-20 min. This routine gets me ready to do intellectually intensive work like reading a hard technical book.