Nebius Interview Question

Three algorithm problems from Leetcode (easy to medium difficulty)