Frage im Vorstellungsgespräch bei NVR

X = 1. Y = 2. Switch the value between these variables without using another variable.

Antworten zu Vorstellungsgespräch

Anonym

29. Nov. 2016

y => y + x (3) x => y - x (2) y => y - x (1)

1

Anonym

20. Aug. 2015

The interviewer admitted this was a trick question because only statistical programmers can usually answer it.