Are specific algorithms like KMP really asked to implement in an interview?

Hello LC community,

Thank you for contributing amazing solutions and interview experiences. I have been spending time in understanding algorithms like KMP but my question is whether such algos are asked to be implmeneted and/or used in an actual interview? I ask this because, these algorithms seem to be quite tricky (at least for first few times) plus even interviewer might find it difficult to verify (unless he has solution in front of him). It would be great, if someone can provide list of such specific algorithms that are actually askeed in an interview.

Comments (1)