Nguyen Van Tuantuannguyenhust.hashnode.dev·Oct 10, 2024Two pointer with GolangWrite a function that reverses a string. The input string is given as an array of characters s. You must do this by modifying the input array in-place with O(1) extra memory. Example 1: Input: s = ["h","e","l","l","o"] Output: ["o","l","l","e","h"] ...Basic algorithmstwo pointersAdd a thoughtful commentNo comments yetBe the first to start the conversation.