ZREMRANGE
BYLEX
Initial
Play 1
Play 2
Play 3
ZREMRANGEBYLEX key min max
ZREMRANGEBYLEX city "
(
Beijing" "
(
Seoul"
ZREMRANGEBYLEX city "
[
Beijing" "
(
Seoul"
ZREMRANGEBYLEX city "
[
Beijing" "
[
Seoul"
city
0
Beijing
0
New York
0
Seoul
0
Tokyo
INDEX
REVERSE
INDEX
0
1
2
3
-4
-3
-2
-1