Vector Clock Compare
Vector Clock Compare
Compare two vector clocks.
Return one of:
"equal"
"before"
"after"
"concurrent"
a is before b if every component of a is less than or equal to b and at least one component is smaller.
Missing components are treated as zero.
Function signature
func CompareVectorClock(a, b []int) string
Run tests to see results
No issues detected