employer cover photo
employer logo
employer logo

Siemens Digital Industries Software

Azienda coinvolta

Domanda di colloquio di Siemens Digital Industries Software

Find the duplicate in an Array

Risposta di colloquio

Anonimo

27 mar 2024

Tortoise Hare (Two pointer Method) - Floyd's cycle detection. O(n) time and O(1) space ; Don't use hash map since O(n) space but time O(n)