โ† Qualcomm questions

Detect loop in linked list and set K-th bit

Filed under Qualcomm

Given the head of a linked list, determine if it contains a cycle. Additionally, given an integer number and a position K, set the K-th bit of that number.

You've read your 3 free write-ups

Sign up free to keep reading. Your account opens the first 10 questions of every company.

Related Qualcomm questions

Collected from public candidate posts and coding forums. Updated Nov 2026.