Skip to content

Commit 5975392

Browse files
committed
✨ lc 425-1
1 parent 61fc96c commit 5975392

File tree

1 file changed

+13
-0
lines changed

1 file changed

+13
-0
lines changed

0425_Problem_1.bqn

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
# For up to date code:
2+
# https://github.com/codereport/bqn-code/blob/main/leetcode/425-1.bqn
3+
4+
# Link: https://leetcode.com/problems/adjacent-increasing-subarrays-detection-i
5+
6+
UnitTest⟩ ⇐ •Import "/home/cph/bqn-test/test.bqn"
7+
8+
MinimumSumSubarray ← { ׯ1‿(´)0</∾+´˘¨𝕨¨(𝕩)+↕1+-˜´𝕩 }
9+
10+
# Tests
11+
UnitTest (⟨3,-2,1,4MinimumSumSubarray 23) 1
12+
UnitTest (⟨-2,2,-3,1MinimumSumSubarray 23) -1
13+
UnitTest (⟨1,2,3,4MinimumSumSubarray 24) 3

0 commit comments

Comments
 (0)