Desktop only
Coding Challenges are optimized for Desktop
Come back on a wider screen - the live editor needs room to breathe. You can still read the problem brief above.
Come back on a wider screen - the live editor needs room to breathe. You can still read the problem brief above.
indexed_pairs(["red", "blue"])
# -> [[0, "red"], [1, "blue"]]
mapping_views({"a": 2, "b": 4})
# -> {"keys": ["a", "b"], "values": [2, 4], "entries": [["a", 2], ["b", 4]]}numeric_sort([10, 2, 30], False) # -> [2, 10, 30]
stable_length_sort(["bb", "a", "cc", "d"])
# -> ["a", "d", "bb", "cc"]split_fields("a||b|", "|") # -> ["a", "", "b", ""]
trim_and_join([" a ", "", " b"], ":") # -> "a::b"
characters("A🙂") # -> ["A", "🙂"]append_label("new") # -> ["new"]
sum_with_adjustments(10, 2, -3, 1) # -> 10
build_profile("Ada", active=False) # -> {"name": "Ada", "active": False, "tags": []}