We use cookies to ensure you have the best browsing experience on our website. Please read our cookie policy for more information about how we use cookies.
- Permuting Two Arrays
- Discussions
Permuting Two Arrays
Permuting Two Arrays
Sort by
recency
|
255 Discussions
|
Please Login in order to post a comment
Scala
Short python solution :
in c#
in JS:
C++ sort either A or B and sort in reverse order in case of the other one. By doing so, we guarantee that the added pair were optimized.
string twoArrays(int k, vector A, vector B) {
}