ShareHub

Discover and share articles, posts, and links from across the web.

Kadanes Algorithm - P2

Kadanes Algorithm - P2

Apex Shark · 3/20/2026

In this task, I worked on finding the maximum sum of a subarray from a given array. A subarray means a continuous sequence of elements, and the goal is to fi...

Next Permutation

Next Permutation

Apex Shark · 3/20/2026

In this task, I worked on finding the next permutation of a given array. A permutation means a different arrangement of the same elements, and the “next perm...