Studying for future interviews. Current company didnt give me any challenge, just asked about my past experiences and see if i was a cultural fit. Learning python and wondering if its acceptable to use built in functions (max, isalpha, isnumeric, sort, find, etc) for a leetcode type of challenge? TC: 50k YOE: less than 1
If you use it, you should basically understand how you would implement it yourself. If you use max on an unsorted array, you would also communicate that functionally all this method does is iterate across the array, and thus is O(n). If you use sort, you had better completely understand the complexity, what algorithm is probably being used, how it’s implemented. In other words, don’t use built in functions as shortcuts in your learning. Use it as shortcuts in the code you write on a whiteboard, but understand it.
Thank you. So as someone who is junior, new to python, an effective learning towards leetcode/coderbyre questions, is to not use the built in functions at first but try to write out the loops and the if statements
Definitely, I’d say that’s a good practice to follow as you get started!
- write a quick sort function - sort(...) That definitely not OK
Yes
Layoffs
2d
42264
Google CFO confirms 'large-scale' layoffs (Apr 17)
Tech Industry
2d
54481
Goog Employees Arrested
2024 Presidential Election
Yesterday
2487
Biden ruined America and tech! Tax plans are insane
Tech Industry
2d
1708
How prestigious is databricks?
Tech Industry
Yesterday
728
Chances of meta clearing E5 with screwing up one coding one round and acing all other
Yes mostly, but to be sur3 you need to communicate that with the interviewer. And expect them to possibly ask you to implement those.