re: Write better code: Day 3 - Rotation Point VIEW POST

FULL DISCUSSION
 

Nice. There is a similar real world problem when writing journalling file systems: they need to find the rotation point of the journal, even after a system failure that didn't permit saving that information anywhere well known. The solution is similar too, a binary search through disk blocks looking for the point where the journal index goes down instead of up :)

code of conduct - report abuse