HF RL Explorer

Binary Search on Sorted Linked List

Binary Search on Sorted Linked List: a task in Terminal-Lego-15k (Harbor dataset). Implement an efficient search algorithm that achieves O(log n) time complexity on a sorted linked list. Since standard linked lists do not support random access, you must design a data structure or algorithm that…

The task

Implement an efficient search algorithm that achieves O(log n) time complexity on a sorted linked list. Since standard linked lists do not support random access, you must design a data structure or algorithm that enables logarithmic search performance.

Part of PrimeIntellect/Terminal-Lego-15k.