Quote:
How to find the most similar sub list of another list?
First, you need to understand the problem, and reformulating in a clear way is a good start.
Quote:
Each sub-sub-list looks like [x, y]
Each
sub-sub-list is x and y coordinates of what is commonly named a
point.
The concept of point makes it easier to understand the problem.
Quote:
how can I find the closest sub-sub list of the next sub-list?
Is reformulated as: for a given point, how to find closest point in a list of points?
This is the heart of your problem.
In your problem, lists are just a repeat of same problem.
Unless you give more details, brute force is probably the best approach.
To get help on your code, show it and explain where you are stuck.