3 ms·
Just curious, did you know what a cyclic prime is before they asked? I've never heard the term and have been writing code for over a decade. It's nothing that h
by ohashi 11y ago
Just curious, did you know what a cyclic prime is before they asked? I've never heard the term and have been writing code for over a decade. It's nothing that has ever come up before.
- 0n34n7 11y agoIt is amazing how many "top" companies ask you to do completely irrelevant tests dealing with things you will never use. But since they are top companies and I am not, I am starting to think they deliberately ask these sorts of questions to see if you can solve a problem you have never encountered before.
- rubberstamp 11y agobased on many news stories and on some of the experiences I have had: Take case of Brian Acton(of whatsapp) being rejected by fb/twitter. Do you think he wouldn't have been able to solve a problem the business would've normally encountered? And just because someone cracked that irrelevant test doesn't mean they would be actually able to tackle a real life problem just as fast. I am very skeptical of this type of test methodology. Any software developer worth his salt will be able to tackle any of the problems normally encountered. And moreover its not the performance of individual, but how the team collaborates and performs that results in successfully tackling worst problems in computer science.
- rubberstamp 11y agoNo that was the first time I heard about it. If the language used to solve this particular problem is not python or scala, would've be impossible for me to do it in 30 minutes Check this git for the solutions I came up with(at the time and how I optimized it) for this question https://github.com/coderubber/code-challenges.git https://github.com/coderubber/code-challenges.git