HF RL Explorer

Task: Check if a Value Exists in a Redis List

Task: Check if a Value Exists in a Redis List: a task in Terminal-Lego-15k (Harbor dataset). In Redis, lists are ordered collections that allow duplicate values. Unlike sets, lists do not have a built-in command to directly check for value existence. Your task is to write a shell script that…

The task

In Redis, lists are ordered collections that allow duplicate values. Unlike sets, lists do not have a built-in command to directly check for value existence. Your task is to write a shell script that checks whether a specific value exists in a Redis list.

Part of PrimeIntellect/Terminal-Lego-15k.