This is the B. Odd Subarrays of Codeforces Round #794 (Div. 2)
----------------------------------------------------------------------------------------------------------------------------
Dynamic Programming Playlist - https://youtube.com/playlist?list=PLnf_DV97XNw6yHFZQPjAARMuP8AVtSJxV
----------------------------------------------------------------------------------------------------------------------------
Problem Link - https://codeforces.com/contest/1686/problem/B
Solution Link - https://pastebin.com/k6MqirpE
----------------------------------------------------------------------------------------------------------------------------
Subscribe to the channel and press the bell 🔔 for the latest updates!!!
----------------------------------------------------------------------------------------------------------------------------