4 ms·
well, it's pretty common operation, so kinda weird.
by tester34 5y ago
well, it's pretty common operation, so kinda weird.
- foxfluff 5y agoIt might just tell you that the person being tested hasn't spent a lot of time with C# recently. Which says little about their competency in general.
- michaelt 5y agoAre there any languages other than C and assembler that don't have a function to split a string on delimiters as part of their standard library?
- jpindar 5y agoC has one, strtok().
- tpxl 5y agoLooking at String documentation takes a few seconds. If the developer can't look at the documentation in the interview, the developer is not the problem.
- logfromblammo 5y agoThis comment applies to more of my real-life interviews than any other. So many ask, "How do you do X?" and the correct answer in a real job situation is always either "Look up the documentation for X, and do it that way.", or "There is a 20-year-old open-source library for doing X, so I'd use that." I am not a walking catalog of esoteric programming knowledge. When working, I have 24-hour access to all official documentation, as well as all blogs, projects, and message boards on the Internet. The first step in solving any problem is checking to see if someone else already solved it. The same goes for the brain teasers. If you can look up the problem on the Internet, I probably saw it first. Your original, non-plagiarized riddles, please, or don't bring it in to the interview.
- tester34 5y agoI agree, but where's boundary?