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.
importControl.Monadmerge(x:y:rest)=y:x:mergerestmergerest=restmain=docount<-getLineforM[0..(readcount::Int)-1]$(\_->do-- Here's where the magic happens N times:line<-getLineputStrLn$mergeline)
Cookie support is required to access HackerRank
Seems like cookies are disabled on this browser, please enable them to open this website
String-o-Permute
You are viewing a single comment's thread. Return to all comments →
A simple haskell solution: