Write vector<int> convert(int n) returning the digits of n in base -2, using the shortest possible representation (e.g. -2 is 10, 4 is 100, -8 is 1000).
Unlock detailed company stats for this questionUpgrade
Community answers
No answers contributed by the community yet.
Related courses

Course

