•  
      tasks #45376 Print anagrams together in python using list and dictionary
    #45376
    Mohini Singh (mohini)
    2022-08-16 20:47
    2022-08-16 20:47
    Details
    Print anagrams together in python using list and dictionary
    Traverse list of strings. Sort each string in ascending order and consider this sorted value as Key and original value as Value of corresponding key. Check if key is not present in dictionary that means it is occurring first time, so map a empty list to Key and append value in it, if key is already present then simple append the value.
    Now each key will contain list of strings which are anagram together.

    5 - Medium
    State of Progress
    2022-05-16
    100
    2022-05-18
    Mohini Singh (mohini)
    Rakesh Kumar Verma (rakesh.verma)
    2022-05-17
    Closed
    Attachments
    References
    References list is empty