Skip to content

Ailyn2025/Subarray-Division-algo

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 

Repository files navigation

Subarray-Division-algo

This code solves the Birthday Chocolate problem by finding how many contiguous segments of a chocolate bar sum to a specific value matching the birthday day and month. The code slides a window of length 'm' across the chocolate bar segments, calculating the sum of each contiguous segment and counting how many segments sum exactly to 'd'.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages