3 ms·
Love the a % 2 != 0 ? 4 : 2; optimization. This used to be one of my favorite interview questions for low-level positions - conditional assignment without branc
by dkopi 10y ago
Love the a % 2 != 0 ? 4 : 2; optimization. This used to be one of my favorite interview questions for low-level positions - conditional assignment without branches.
- deleted 10y ago[deleted]
- wmu 10y agoNice question, I had to think for a while. :)