Back to Blog
Foreach with index kotlin6/2/2023 ![]() Here's an example of my program running with the above input:Ġ. ![]() each first name, last name, and email is a separate token, and the values are lists of indices of entries that contain that token. You're supposed to create an inverted index, basically a Map> where the key are tokens extracted from the entries, i.e. Given a list of strings that represent entries in a phone book (one entry per line) I've been working on one of the Kotlin projects at, Simple Search Engine, and the second to last stage has a bit of a challenging requirement to create an inverted index.
0 Comments
Read More
Leave a Reply. |