Continuous Subarray Sum at Yandex

Medium31.2% acceptance

This problem has 37.5% frequency at Yandex.

Problem Description

Given an integer array nums and an integer k, return `true` _if_`nums` _has a**good subarray** or _`false` _otherwise_. A **good subarray** is a subarray where: * its length is **at least two** , and * the sum of the elements of the subarray is a multiple of `k`. **Note** that: * A **sub...

Read full problem and hints

Topics

Also asked at 8 companies


More Yandex Questions

View all Yandex questions