Real World use case of linked lists?
Real World use case of linked lists? Let’s take an example of redis pub/sub. Redis pub sub is similar to kafa message queue where producer publishes to some channel and consumers subscribes to these channel will get the message so how internally redis pub sub works. To maintain a set of channels for a particular channel name it uses map data structure Map<String, Set<Clients>> Further it internally maintains Map and linked list data structure which keeps channel name and list of connected clients