What is pitch in regard to a rectangle in question two?
Pitch is the offset between the start of consecutive rows of pixels in the image, used to convert y coordinates into the start of any given row, so you access a pixel as buffer[y*pitch+x]. Often this is the image width, but can be greater depending on required alignment.
The four programming questions from my 1994 Microsoft internship interview (2023)
51–60 of 103 posts
Re: The four programming questions from my 1994 Microsoft internship interview (2023)
#52This is a fun article. As a current Principal at MSFT I've never seen these type of questions being asked in interviews. I don't think it's fair or accurate to say "If you’re an experienced programmer, you already know how to do all of them". So many of the SWEs and candidates at Microsoft are just studying leetcode using python, joining the company and writing managed C# code.
I would far prefer getting managed C# over the Electron garbage that constitutes much of Windows nowadays.
Re: The four programming questions from my 1994 Microsoft internship interview (2023)
#53It was an awesome package - I shipped many products which used it in that era - and it was always a bit amusing to me that it seemed like Borland had almost everything they needed to write an operating system. But, they didn't.
Re: The four programming questions from my 1994 Microsoft internship interview (2023)
#54This brings back memories! I could easily pass this interview today, because I used to write code like this all the time 25 years ago doing gamedev (and so did everyone else to some extent). But the really interesting thing is that I just realized I haven't written code like this in a long, long time. Programming has changed over time, but the change has been so gradual I hadn't even realized this until this article.…
Writing that oracle after 20+ years would have been left as an exercise to the reader.
Re: The four programming questions from my 1994 Microsoft internship interview (2023)
#55Re: The four programming questions from my 1994 Microsoft internship interview (2023)
#56I interviewed at Microsoft in Redmond in 1997 and got zero programming questions. They were all knowledge-based or brain-teaser questions so I don't know if I believe that they gave 4 programming questions in 1994.
Re: The four programming questions from my 1994 Microsoft internship interview (2023)
#57Re: The four programming questions from my 1994 Microsoft internship interview (2023)
#58The author’s memory is remarkable. I hardly remember my own name that far back, LOL. Back then, I knew I would always struggle with those types of interviews, so I always carried a floppy disk with me to them. The disk contained a few programs I had written, and I would simply tell the interviewers, “Don’t give me a quiz. I’m terrible at it, so if you do, I’m out.” However, if they were willing to look at my capabili…
Re: The four programming questions from my 1994 Microsoft internship interview (2023)
#59The author’s memory is remarkable. I hardly remember my own name that far back, LOL. Back then, I knew I would always struggle with those types of interviews, so I always carried a floppy disk with me to them. The disk contained a few programs I had written, and I would simply tell the interviewers, “Don’t give me a quiz. I’m terrible at it, so if you do, I’m out.” However, if they were willing to look at my capabili…
Why did that approach change?
Re: The four programming questions from my 1994 Microsoft internship interview (2023)
#60How does the video whiteboard work? I presume he isn't really writing backwards or is this some sort of software that handles the video and writing surface?
https://www.lightboard.info/ I think he wears a shirt with mirrored writing so it looks correct to the viewers.