Expand Cut Tags

No cut tags
[personal profile] hoisinsauce posting in [community profile] secretfanspace
POST NAMER TBC-- work harder, meme!

Welcome back, anyway! Chat fandom, media, creative things, weirdness from around the net, funny stuff, anything! Meme awaits!


(start a comment thread by replying to this post)
 
Depth: 1

Re: Coding

Date: 2025-08-14 08:08 pm (UTC)
From: (Anonymous)
I prefer yours because they're less likely to have learned an approach by rote that disguises their lack of understanding if they're incompetent. That said, it's a weird q for a non jr position, except as a very basic filter, and I'd also be fine with pseudocode that just explains their approach, personally. For non-junior positions I'd want to check they were familiar with stuff like version control, code review, *some* language, and working with others. But I'm not really a leetcode type; I'd probably write you shit code for that question (or any coding question) if I wasn't expecting it. Guess it depends why you're asking it. I like qs that reflect the day-to-day. My honest answer to that q is that I'd google it. I can work it out, but in a work context, I wouldn't. I think any software dev *should* be able to work out a solution, but I'd expect more sr devs to better optimize the allocation of their time lol.
Depth: 2

Re: Coding

Date: 2025-08-14 08:26 pm (UTC)
From: (Anonymous)
SD

(I'd go "well, there'll be a library for permutations; that'll have a better algorithm than the nested for-loops I'll end up with" and I'd search "$language permutations function". :p)
Depth: 2

Re: Coding

Date: 2025-08-14 09:15 pm (UTC)
From: (Anonymous)
Yeah, it's actually wrapped in a lot of fancy packaging, so a lot of the interview is actually about understanding the requirements and finding an approach for the problem. Most candidates seem to do decently well there, but once they actually hit coding the permutations they blank out. Had someone try to write eight nested for loops, which was certainly a choice.

I actually wrote this problem intending for a recursive solution (i.e. there's a fairly natural exit condition that allows you to short-circuit most attempts). Listing all the permutations is the brute-force solution, which is fine, but I've been surprised by how many people choose this solution and then get stuck on that part. Might need to redraft parts of this question as a result.

I'm also the designated coding and algorithms interviewer, so it's Leetcode or bust here. Usually I feel like my questions aren't all that tricksy, but I do love recursion and so many people struggle with it.
Depth: 3

Re: Coding

Date: 2025-08-14 09:39 pm (UTC)
From: (Anonymous)
:) I'd got as far as figuring out that it *should* recurse, but I suspect I'd fail this one through sheer laziness. Algorithms avoid me and I avoid them. Now, if ever you're having network problems and need someone to tell you 'it's DNS, it's always DNS', I can oblige.
Depth: 4

Re: Coding

Date: 2025-08-14 10:00 pm (UTC)
From: (Anonymous)
(but seriously... depends what kind of work you're doing. I think I've needed to do leetcode-style stuff on one project in my whole career. I learn stuff when I need it and forget it a week later. If the job's not leetcodey, leetcode questions might exclude candidates who will get it done. /sacrilegeous-devops-talk)

Profile

secretfanspace: A happy spidermite, still forbidden, just without 'no' visible (Default)
Anon fandom messageboard

May 2025

M T W T F S S
   1234
567891011
12131415161718
19202122232425
2627282930 31 

Page Summary

Style Credit

Page generated Feb. 7th, 2026 12:39 pm
Powered by Dreamwidth Studios