Srikanth Anantharamblog.srikanth.oneยทSep 23, 2023Swapping the position of the two words in a string represented by a singly linked listRecently I've been giving interviews as my last contract got completed. In one of the interviews, I was asked to write a data structure for a string using a singly linked list. The constraint was that the string would have exactly two words separated...173 readsC++Add a thoughtful commentNo comments yetBe the first to start the conversation.