Find the largest contiguous sum in a numeric signal, allowing the empty slice with sum zero.
Extensions
Add languages, themes, MCP servers and agent tools to IZ Code. Install native IZ Code extensions, or anything from the Open VSX registry.
24362 extensions36 IZ Code24326 Open VSX
2264 extensions in Snippets
Clear filters- 97 downloadsRahulChaubeUpdated 9 days ago
Compute spare slots in the final shipping case when a nonnegative order is packed into equal-size cases.
96 downloadsRahulChaubeUpdated 9 days agoMap signed integers to their unsigned ZigZag representation for compact varints. Inputs must fit in signed 32 bits.
96 downloadsRahulChaubeUpdated 9 days agoCount adjacent violations of a nondecreasing response curve before monotonic calibration.
96 downloadsRahulChaubeUpdated 9 days agoFind the least buddy allocator order that holds a request in positive equal base blocks. Order zero uses one block.
96 downloadsRahulChaubeUpdated 9 days agoCompute integer BT.601-style luma using fixed weights 77, 150 and 29 with nearest rounding. RGB channels must be bytes.
96 downloadsRahulChaubeUpdated 9 days agoReturn the byte width of a Unicode scalar encoded as UTF-8. Reject surrogate code points and values beyond Unicode.
96 downloadsRahulChaubeUpdated 9 days agoSelect the first sorted value index whose cumulative nonnegative weight reaches half the total. Zero total returns minus one.
96 downloadsRahulChaubeUpdated 9 days agoCount units charged inside one progressive pricing tier with excluded lower and included upper cumulative boundaries.
96 downloadsRahulChaubeUpdated 9 days agoMeasure decoded length of a PackBits byte stream, checking run and literal boundaries. Header 128 is a no-op.
96 downloadsRahulChaubeUpdated 9 days agoCompute the unnormalized autocorrelation sum at a nonnegative integer lag. A missing overlap contributes zero.
95 downloadsRahulChaubeUpdated 9 days agoDetermine the direction of a planar turn from six coordinates. Returns one for counterclockwise, zero for collinear, minus one for clockwise.
95 downloadsRahulChaubeUpdated 9 days ago