No one has replied
@xidui What will be output of this case?
I think [4,4], as changing only 0 at (4,4) will result in maximum 1's.
@elmirap Preorder: "ABCEDF", Inorder: "ECBDFA". I think so. No other constraints.
Here's my answer, I am not sure if it's correct (It's written in Objective-C):
Looks like your connection to LeetCode Discuss was lost, please wait while we try to reconnect.