tag:blogger.com,1999:blog-3555300218296290557.post3597358739442490667..comments2024-02-19T03:37:37.911-05:00Comments on PURSUING THE TAO OF PROGRAMMING: Learning Scala 1: swap array elementsSteve Zhanghttp://www.blogger.com/profile/11521569965417254322noreply@blogger.comBlogger2125tag:blogger.com,1999:blog-3555300218296290557.post-34861299920604375902022-04-27T11:02:49.857-04:002022-04-27T11:02:49.857-04:00l.sliding(2,2).map(x => x.reverse).toList.flatt... l.sliding(2,2).map(x => x.reverse).toList.flattenAnonymousnoreply@blogger.comtag:blogger.com,1999:blog-3555300218296290557.post-50389728035423552962019-11-13T18:06:54.921-05:002019-11-13T18:06:54.921-05:00please post the functional programming style versi...please post the functional programming style version as well pleaseAnonymoushttps://www.blogger.com/profile/12949872464157984165noreply@blogger.com