Re:Things I Learned from a Job Hunt for a Senior Engineering...
by 1812Overture on Tuesday April 24, 2018 @04:49PM
(#16916435)
I applied for an analytics position that unexpectedly had me take a Python coding test like this (I know a bit of PHP and Java but no Python) and I was able to google everything I needed to pass the test in the time limit. Apparently I got one of the higher scores too. Got the job. It has not required me to write a single line of Python, lol.
Re:Things I Learned from a Job Hunt for a Senior Engineering...
by rajacombinator on Tuesday April 24, 2018 @05:40PM
(#16916874)
Googling stuff to copy is one of the most important skills for programmers. I was appalled when a middle aged senior programmer at my first internship told me this, thinking he was lazy and unethical... (people are paying you after all!)... how naive I was!
Re:Things I Learned from a Job Hunt for a Senior Engineering...
by twodave on Tuesday April 24, 2018 @02:48PM
(#16915450)
This isn't bad. I've used one similar:
"Write a function that reverses the words in a (string) sentence"
i.e. (x) => x.split(' ').reverse().join(' ');
Re:Things I Learned from a Job Hunt for a Senior Engineering...
by bmomb on Tuesday April 24, 2018 @03:43PM
(#16915906)
Just a little trivia;
The fastest way to reverse a string is in JS is:
function reverse(s) {
var o = [];
for (var i = 0, len = s.length; i <= len; i++)
o.push(s.charAt(len - i));
return o.join('');
}
Re:Things I Learned from a Job Hunt for a Senior Engineering...
by logfromblammo on Tuesday April 24, 2018 @02:59PM
(#16915554)
In C#, the string object has some convenience in it:
return inputString.Count( "eaoiuAIEOU".Contains );
Or if you want to solve two problems: static Regex VowelMatcher = new Regex( "[aeiou]",
RegexOptions.Compiled | RegexOptions.IgnoreCase );
...
return VowelMatcher.Matches( inputString ).Count;
And if you want to be clever and snarky: return 2; // number of vowels in "a string"
Re:Things I Learned from a Job Hunt for a Senior Engineering...
by taco_emoji on Tuesday April 24, 2018 @04:12PM
(#16916110)
The Count and Contains methods are not on string, they're both extension methods on IEnumerable<T>, which string gets for free by implementing IEnumerable<char>.
Re:Things I Learned from a Job Hunt for a Senior Engineering...
by walshemj on Tuesday April 24, 2018 @01:21PM
(#16914593)
That's surprising - ill have to give that a go later this evening as I have been thinking about going back to development form a consultant non coding role.
Took me less than 10 seconds to come up with an approach that would work oh just though of a more efficient one but that would use a regex :-)
Re:Things I Learned from a Job Hunt for a Senior Engineering...
by notyourloops on Tuesday April 24, 2018 @01:06PM
(#16914453)
What's your process like after that screening measure? Because to me, that's honestly trivial, and a lot nicer than dealing with an extended (8+ hours) homework problem as an introduction to a company's hiring process.
Re:Things I Learned from a Job Hunt for a Senior Engineering...
by spamizbad on Tuesday April 24, 2018 @01:29PM
(#16914652)
A ~4 hour on-site (or google hangout) technical interview and discussion. The first 30-45 minutes is usually us selling you on the company, followed by 2-3 hours of technical stuff. We do throw a few more coding questions at you (ones that are technically trivial, but made more difficult with interview jitters etc), but go beyond that and ask how would you design an API, how would you think about the technical requirements about business problem etc. After that, Q&A, and more selling you on the company.
Re:Things I Learned from a Job Hunt for a Senior Engineering...
by notyourloops on Tuesday April 24, 2018 @02:39PM
(#16915376)
That sounds like a nice process. I don't know anything about your company, but I'm thankful that you keep it sane and reasonable for prospective developers.
Re:Things I Learned from a Job Hunt for a Senior Engineering...
by mywittyname on Tuesday April 24, 2018 @05:16PM
(#16916685)
Screw it, everyone else is posting code examples:
def vc(s):
return len([c for c in s if c in ['a','e','i','o','u']])
Re:Things I Learned from a Job Hunt for a Senior Engineering...
by cema on Wednesday April 25, 2018 @03:12PM
(#16924984)
Probably s.tolower() or whatever it is in Python.
Re:Things I Learned from a Job Hunt for a Senior Engineering...
by knopkop_ on Thursday April 26, 2018 @11:19AM
(#16932667)
def vc(s):
return len([c for c in s.lower() if c in ['a','e','i','o','u']])
Re:Things I Learned from a Job Hunt for a Senior Engineering...
by hfdgiutdryg on Tuesday April 24, 2018 @01:21PM
(#16914588)
Is Y (Greek I) a vowel?
"Write a function that counts the number of vowels in a string"
Candidates are allowed to run it multiple times and just have to produce a correct result within 10 minutes. It's not a trick question -- the test case in place makes sure you pay attention to case.
Success rate for mid to senior devs? Only 60%.