Skip to main content
Filter by
Sorted by
Tagged with
1 vote
3 answers
64 views

Goal: Given a list of String representing IP addresses split into 4 octets by removing '.' transform split pieces by padding with zeros (if size == 1 or 2) join pieces into a 12-char String, ...
bigswifty's user avatar
  • 155
5 votes
4 answers
7k views

I'm trying to figure out how I can declaritively define a function as a composition of two other functions in Kotlin but I'm struggling. Here is my code: fun compose(a: (Int, Int) -> Int, b: (Int, ...
Thomas Cook's user avatar
  • 4,943