0
Task description
You are given a list and an item, find the length of the longest consecutive subsequence of the list containing only the item.
Testcases
[1, 1, 2, 3] 1 -> 2
[1, 0, 0, 2, 3, 0, 4, 0, 0, 0, 6] 0 -> 3
This code is pretty readable in my opinion but I fear that the O(N^2) tim...