Roblox

1 DSA problems asked in Roblox coding interviews

0 Easy
1 Medium
0 Hard
​

1 problem

Sliding Window
1
Count Number of Nice Subarrays
Medium

Given an array of integers `nums` and an integer `k`, a continuous subarray is called **nice** if there are exactly `k` odd numbers in it. Return the number of nice subarrays.