[태그:] 원자성
-
[기술 면접] 5. Multi process/thread 환경에서 임계영역의 동기화 문제를 어떻게 해결하나요?
[기술 면접] 5. Multi process/thread 환경에서 임계영역의 동기화 문제를 어떻게 해결하나요?
-
[Coding Test] 1. Binary Gap
1. Binary Gap 문제 A binary gap within a positive integer N is any maximal sequence of consecutive zeros that is surrounded by ones at both ends in the binary representation of N. For example, number 9 has binary representation 1001 and contains a binary gap of length 2. The number 529 has binary representation 1000010001 and contains two binary gaps:…