Skip to content

Commit 28400eb

Browse files
job_sequencing
1 parent e2656ed commit 28400eb

File tree

2 files changed

+18
-10
lines changed

2 files changed

+18
-10
lines changed

.idea/workspace.xml

Lines changed: 10 additions & 9 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

job_sequencing_deadline.py

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,4 +22,11 @@ def sequencing(arr):
2222
['d', 1, 25],
2323
['e', 3, 15]]
2424

25-
print(sequencing(arr))
25+
#print(sequencing(arr))
26+
ar = [1,2,2,3,3,4,4,5,5,6,6,7]
27+
res = ar[0]
28+
for i in range(1,len(ar)):
29+
res = res ^ ar[i]
30+
print(res)
31+
print(res)
32+

0 commit comments

Comments
 (0)