Hacker News new | ask | show | jobs
by enjoyyourlife 43 days ago
I recently got a disjoint set problem (similar to number of islands of Leetcode) in an interview and the interviewer made me solve it using a DFS approach instead of a union find. Also I realized that most interviewers prefer that I solve the Leetcode problems in TypeScript and don't like Python

Solving algorithm problems is different in interviews than on Leetcode