The time complexity would be the number of json keys (k) * json value counts(v)
Time complexity - O(kv)
Note: Uploaded all the input files (i1,i2,i3,i4,i5,i6,i7,i8) Combined file (combined.json) Output files(o1,o2,o3)
The python code can be found in 'jsonmerger.ipynb' file.