Tried 3 different ways. none of them worked. any suggestion?
==================================================
return null;
Input:
1
[]
Output:
null
Tried 3 different ways. none of them worked. any suggestion?
Input:
1
[]
Output:
null
answered already here:
https://leetcode.com/discuss/35562/expected-special-judge-no-expected-output-available?show=35562#q35562
you should return [0].