# | User | Rating |
---|---|---|
1 | jiangly | 3640 |
2 | Benq | 3593 |
3 | tourist | 3572 |
4 | orzdevinwang | 3561 |
5 | cnnfls_csy | 3539 |
6 | ecnerwala | 3534 |
7 | Radewoosh | 3532 |
8 | gyh20 | 3447 |
9 | Rebelz | 3409 |
10 | Geothermal | 3408 |
# | User | Contrib. |
---|---|---|
1 | maomao90 | 174 |
2 | awoo | 164 |
3 | adamant | 163 |
4 | TheScrasse | 159 |
5 | nor | 158 |
6 | maroonrk | 156 |
7 | -is-this-fft- | 151 |
8 | SecondThread | 147 |
9 | orz | 146 |
10 | pajenegod | 145 |
+17
I've done interviews with Facebook. Be careful with details (such as ambiguity, corner cases, coding style... etc.). |
0
Yeah LeetCode should probably be in there :) |
0
If we include data science competitions, I think there will be a lot to be added. I think it would be better to leave those for ML resource collections. |
0
That's interesting, because I was able to download those documents last year. It was actually one of the more accessible download locations I could manage to find. I'll probably end up removing it, because it is a little controversial. |
0
Yes! :) Your blog looks amazing. |
0
I apologize for being not as responsive lately. I'll get back to you when I have time, and ping me if I don't. |
0
You're very, very welcome! Glad it's helpful for you :) |
0
Well, I would love to, but I need an authoritative review of those books because I have not read these books entirely. Would you be kind enough to share your thoughts? |
0
Wow! Their notebook looks awesome! I'll add that to the list when I get off work today. |
0
I admit that it's a little overwhelming :P That said, there are also overwhelmingly many ways you can start! if you don't have a clue, I would suggest that you start with an open course :) |
0
This does look like a good book. I'm sorry that I do not understand Spanish, nor am I familiar with the Spanish-speaking competitive programming community. |
0
I would love to, but I have rather limited knowledge when it comes to Computational Geometry. You should be able to find some relevant resources on the listed websites, but other than that, I'm afraid that I am a bit on the ignorant side when it comes to CG :/ |
+10
Yes it does depend on the interviewer, but the questions typically won't be very difficult for interns. For me, it was a little bit of everything. |
0
1) I'm guessing this is because Google also takes Winter interns and they're always hiring for full-time positions. 2) I'm having difficulties understanding the sentence. You can apply for intern during the application periods as long as you're currently enrolled as a student in an academic institution. |
+16
Hmm it doesn't seem to just depend on the ranks. Competitive programming experiences actually do make interviews a bit easier but a good understanding of other CS subjects is also required :) |
+5
Thanks for the kind words :) It's been a year since I launched this project. |
0
Hello, However, I don't think any of these are qualified for the list. |
+5
Thank you! The items are significantly harder too o.o |
0
geeksforgeeks is up there, 3rd item in the first section. |
0
Thanks, added. Sorry, it's been busy for me recently. |
0
I actually stumbled upon his profile a while ago, Thanks, |
0
Hello. Thanks for the suggestion. Can you tell me a bit more about him? |
0
Maybe not in the sites to practice, I'm sorry. I do intend on including it. |
0
Sorry for the late reply. It looked great I think. I have a question: Is it being actively maintained? (eg. new problems every now and then?) |
0
Hello, Thanks first of all. Can you tell me how you would recommend it? |
0
Thank you! I'm still relatively unfamiliar with interview questions. |
0
CHelper supports multiple platforms. TopCoder is supported I believe. |
0
I think that would be CHelper. I haven't tried it myself though. |
0
At least my take on it :P Good luck to you as well :) |
0
Hello there :) Since you mentioned MS-Word, I would suggest you to try an online syntax highlighter. This is my solution for making slides with code snippets. Paste your source code on the website, I'm not aware of a better solution. Would highly appreciate if there's any :) PS. If this is for your team notebook, you may also use latex — a clever solution refined by my ex-teammate pwliao. Link to our notebook repo |
0
Glad to hear that. Comments like yours made my efforts worthwhile. Best wishes to your competitive programming journey :D |
+3
First and foremost, Thank you! Well, I'm not exactly sure. I actually gave it 2 stars initially precisely for the reason you stated in your comment. But then I decided to give it a 3-star rating because of the large amount of classic problems on there. IIRC, Johnny Ho (IOI 2012 Perfect Scorer) said that he practiced primarily on POJ. This also contributed to decision. In the Taiwanese community these days, from what I've heard, people practice on local online judges (such as HSNU OJ, sprout, TIOJ ... etc.) in addition to CF and topcoder. I think our current situation is kind of similar to yours (Japanese community) by your description :) |
0
Thanks for the recommendation! I'll take a look. Here is a collection of good C/C++ books by StackOverflow members. |
+10
Yes, you are absolutely right. Sometimes finding good resources in text is already hard enough, but these open courses help more or less. I'd say this is partly due to the competitive nature of the scene. Plus practice and schoolwork take up a significant amount of time. I highly support Alex7 's initiative. The scene is really getting better and better with all of you nice people :) |
0
Well, there are plenty of video lectures (from open courses) for algorithms and data structures. |
+7
|
+1
The approach was also mentioned in this blog post by PrinceOfPersia. Perhaps it might help :) (PS. I don't how to do it yet. I was also having issues understanding these tutorials.) |
+3
I have some of Prof. Wu's books. Frankly speaking, they are not good. It doesn't seem like the professor truly understands the materials. Almost everything (definitions, tutorials, problem editorials) was poorly written. The books cover absolute nothing about the ideas/thought processes. Everything was like "Declare an array/ds with key = X, value = Y. Then you do this ... and you do that. Finally this is the answer." |
0
I personally would disagree that it gives better readability. The reason is simply writability (fewer keystrokes). |
+13
At least use commas... You will need to check for negative cycles, rather than edges with negative weights. |
0
I suggest you to read all the fantastic answers over here. I have also been maintaining this list of resources which I think should be helpful to you. |
0
Yes, but slightly different. |
On
akshit.lite →
Sum Of Maximum's of all contigous sub-arrays of length k of a given Array., 8 years ago
+1
Sorry, misunderstood the problem statement. |
+10
Out-of-bound access.
|
+3
You might have misunderstood the sentence I think. A quick example: |
0
I think this was asked a week ago. The OP perhaps deleted the thread, cannot find it now. The 2 states are (It's a tree DP, so for each vertex i, we consider only its subtrees and itself):
|
+1
I want to touch on the first few paragraphs. I think the goal for the ACM-ICPC or the whole competitive programming scene is promote computer science (perhaps more on data science). To really excel in the competitions, one would still need to be reasonably proficient in various subjects in computer science. Most of the people I was with ace in everything despite regularly participating in competitions. I'd say given your premise is false, it's kind of hard to discuss further. |
0
As this is a problem from CodeChef, Wouldn't it be better to raise a question on the CodeChef Forum? |
0
Thank you :) |
SBT (or Size-Balanced Tree) was reinvented in late 2006, and published in the 2007 China IOI Camp. It was said to be an extremely-efficient balanced BST that supports common BST operations and is easy to implement. Here's a link for reference Update: SBT was reinvented. A paper dating back to 1993 |
0
Np :) Feel free to contribute if you know any site that's not on the list. |
0
Thanks! I have E-Maxx up there already :) (I place it higher now) I've added igor's code archive to the list, |
0
Most lists I found classify their contents by problem types. (ie. The entries in the list of lists section) Thanks for the link! |
+4
Good idea, there are too many great people to name :) |
+3
Thanks :) Also added yeputons's Quora profile. |
0
I did use DP for |
+16
In case you're curious, Of course myself I do not know any of these :P |
+84
The technique, or the term "Mo's Algorithm" ("莫隊算法" in Chinese) was originally thought of and popularized by 莫涛 (Mo Tao) and his teammates. It was first used to tackle a problem from 2009 China IOI Camp: 小Z的袜子(hose) — authored by 莫涛 himself. The technique itself certainly wasn't new. A Chinese PhD student studying in NYU surveyed this technique a while back. "Rectilinear Steiner Minimal Arborescence technique" mentioned in this paper — Carmel Kent, Gad M. Landau, Michal Ziv-Ukelson, On the Complexity of Sparse Exon Assembly (2005) seems to be identical to Mo's Algorithm. There could be earlier sources. |
0
Only for Top 200 Div.1 users. |
+5
L01 as an example. The link you gave is a course from Spring 2012. A classmate of mine discovered a mistake in one of the lectures which was corrected in Spring 2014. Therefore, I think in terms of correctness, Spring 2014 might be more reliable. |
+5
Just curious, How did you know which code he copied? (Is there a tool for this or ?) |
0
I think I used similar ideas. |
+16
I suggest to watch it here. As for which ones are important, I honestly have no idea. |
0
I've only looked at A-N, Thank you for an interesting contest! |
+3
My solution doesn't have hashing actually. What I did was: do a All-Pairs Shortest Path by using Dijkstra V times. The whole solution works in O(V3 + E * V2). |
0
Good luck :) |
0
I am not sure what you mean by modified Dijkstra, |
+14
Can you give us the link to the problem? |
+7
If they give T-shirts to Div.2, we will be seeing loads of fake Div.2 users. |
0
Yes it does. It will occur again and again. Incidentally there is an easier way to resolve this.
|
0
Sorry for giving a short answer there. It's not easy to explain. Consider treating each bite as an entry and assume we bit 2 already ( Let's take
Similarly with Now the only thing to consider is how to use an ordered container to store the entries. |
0
The short version of You cannot understand it through the code itself. The short explanation is that you only need to look at 1 of your neighbors to tell the result. |
0
You should print any of them. |
-7
|
0
Lucas' theorem stated that p must be a prime. I'm not sure whether Lucas' theorem still holds. |
+29
Scoreboard has been updated (also with solutions!) It looks like tourist used the strategy everyone speculated for A, B and E (His solutions for small and large are identical). - Oh and for a good laugh, look at the filename for tourist's solution to C-small. |
+3
I love the idea here :) |
+5
This is a difficult book for a self-learner. (at least for me) I highly recommend Introduction to Algorithms (SMA 5503) — MIT lectured by one of the coauthors — Prof. Charles Leiserson (The 'L' of CLRS) and Prof. Erik Demaine who is a bright and fantastic teacher (Perhaps you've heard about Cartesian Trees(treaps)?). In case you need solutions when you're stuck, here is a CLRS Study Group. In case you want to know more about CLRS, consider giving Prof. Thomas Cormen (The 'C' of CLRS) a follow on quora :) |
0
You're the one being delusional. Feel like googling "Taiwan" and look it up on wikipedia? Oh wait, you can't :) (without using VPN, proxy) This is just pathetic. Oh and, this will be the last comment I made on this topic. Not interested in arguing with some politics zealots. Keep living in your own world where every country is yours essentially. |
-35
Speaking from a country clouded by all sorts of censorship, your comment is so trustworthy! Okay I'm kidding, I kind of feel sorry for you, Of course, I still respect your freedom of neglecting the fact that Taiwan is an independent country and spitting out ignorant comments :) |
+27
Wow. Seriously? |
+3
Thank you so much! I was looking for a tool like this :D |
0
You don't really need LCA for this one. I don't have the energy to explain it right now. When you have the MST already, you can preprocess by starting from an arbitrary vertex and record on each vertex, the longest edge it has seen so far. This way, the query takes O(1) for each edge you check. |
0
Ok now I think I know what you mean. Your method is almost equivalent to a O(V2) algorithm I know. |
0
Like I said, I didn't solve the problem this way. You can perhaps look at the author's solution. |
0
You're welcome :) |
0
Your solution (the link you gave on the main post) doesn't check for collisions. For example, you will visit both Your solution is not rubbish. You are just relatively inexperienced :) |
0
You're right. Made a typo there. |
0
Assuming you're asking the case with Let me explain the intuitions. We have 2 equations: (1) R = Re + R0, (2) |
0
I have problems understanding your claim. Can you write it in psuedo code or elaborate a bit more? |
0
Your conclusion is obviously correct, but far from sufficient to solve this problem. |
0
I think Sweep Line Algorithm should work here. Basic idea is sort the intervals, first by starting point then by ending point. I didn't solve the problem this way, so I cannot really go into details on this. In case I made a mistake, let me know :) |
0
It's not a graph problem, but a math problem rather. Consider f(a, b):
- By the way, I like this problem. Thank you for pointing me to it :) |
0
d(3) = 9 actually. [2, 9] overlaps with the interval [d(2), d(4)] = [2, 10] |
0
I have explained his ideas in my other comment below. My solution is based on this fact (This should be easier if you have some graph theory knowledge):
|
0
His idea is pretty interesting.
Hope this helps. |
+1
No. The number of ways can be something like 250000. The more correct way to do this is to module the number by one or several(just to be safe) big prime number(s). This is still incorrect nonetheless, but has a very small error rate. |
+1
Yes. I took a look. Your submission runs in O(V2). |
0
No you don't need to. Refer to my submission |
0
|
Name |
---|