I'm trying to figure out how I would use a closure which will find and groups of words that have the same ending letter.
For example: [United, Static, Rapid, Directed] The return should be ["D":3, "c":1]
I'm trying to figure out how I would use a closure which will find and groups of words that have the same ending letter.
For example: [United, Static, Rapid, Directed] The return should be ["D":3, "c":1]
Copyright © 2021 Jogjafile Inc.
If you want to group use:
For counting only you can use: