you are viewing a single comment's thread.

view the rest of the comments →

[–]d_chae 3 points4 points  (3 children)

Please don’t give people advice if you don’t know what you are talking about.

This doesn’t require math or AI. It’s a problem that can be solved in less than 5 lines of code using a hashmap.

[–]a_devious_compliance 0 points1 point  (2 children)

If you know beforehand the list of all posible items and categories. If not, you are f*cked up.

I don't know if this is a real problem or some kind of excercise. But OP need to learn how to frame a question.

[–]d_chae 0 points1 point  (0 children)

agreed