Skip to content

Commit 288f332

Browse files
committed
1. Added subset testcase to driver code
2. Bright money assignment for Data analyst position
1 parent ab2fc42 commit 288f332

2 files changed

Lines changed: 5 additions & 1 deletion

File tree

BrightMoney/Data_Analyst_Test.docx

21.1 KB
Binary file not shown.

LeadSquared/totalDistanceByStreetLights.py

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,4 +43,8 @@ def total_distance(intervals):
4343
arr1 = [(5,10)]
4444
print (total_distance(arr1))
4545
arr2 = [(5,10),(8,12)]
46-
print (total_distance(arr2))
46+
print (total_distance(arr2))
47+
48+
#subset testcase
49+
arr3 = [(2,9),(3,6)]
50+
print (total_distance(arr3))

0 commit comments

Comments
 (0)