This server side implementation uses primitives which are available also on the client side. Sadly, the implementation does not pass tests on the client side as-is. It would be great if it did. Then this could become an implementation both on the server and client side and it would be clearer that the logic is the same.
This server side implementation uses primitives which are available also on the client side. Sadly, the implementation does not pass tests on the client side as-is. It would be great if it did. Then this could become an implementation both on the server and client side and it would be clearer that the logic is the same.