SSC CGL 25 Jul 2023 Shift 3 — Question 78 (Vocabulary)

Easy2023
Select the most appropriate meaning of the underlined idiom in the following sentence. I just went to Bali on a backpacking trip and did everything by the ear without any itinerary.