WeMesh Interview Question

Generate a query string using key-value pairs.