title: Why redis command ‘LLEN’ has constant time complexity instead of O(n)?
body: <p>I know that redis list is implemented by linked list under the hood. However when calculating time complexity of length of the list, shouldn’t it be O(n)？</p>