Comment

Comment by enjoyyourlife

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

No comments yet

Be the first to share your thoughts.

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton