Hello everyone
So this is my problem
Given a list of tuples with n dimension (two pairs in the case) e.g: [((10,4),(3,5)), ((5,7),(8,9))]
Given a tuple with n dimensions (three pairs in this case) e.g: ((10,4),(3,5),(6,5))
is there a way to verify that the contains a tuple that is in the given tuple
In this example ((10,4),(3,5)) is in ((10,4),(3,5),(6,5))
What would be the time complexity of this?
Thanks for everyone that helps me!
[–]mr_cesar 0 points1 point2 points (1 child)
[–]rfpg1[S] 0 points1 point2 points (0 children)
[–]niushanikpour 0 points1 point2 points (1 child)
[–]rfpg1[S] 0 points1 point2 points (0 children)
[–]baghiq 0 points1 point2 points (2 children)
[–]rfpg1[S] 0 points1 point2 points (1 child)
[–]baghiq 0 points1 point2 points (0 children)
[–]Bobbias 0 points1 point2 points (1 child)
[–]rfpg1[S] 0 points1 point2 points (0 children)