Skip to content

Commit 7c850b1

Browse files
authored
Merge pull request #380 from Naman2251/main
Create day004sol01.cpp
2 parents 0df0eb1 + e8a9cbc commit 7c850b1

1 file changed

Lines changed: 0 additions & 1 deletion

File tree

Problems/Data-structures/Day-04/sol/Naman Pal/day004sol01.cpp

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
// Submission Link: https://codeforces.com/contest/1997/submission/355835686
22

3-
43
/*
54
So first I made the RBS with minimmum cost by putting closing bracket as soon as we get a opening bracket before it, i.e., closing bracket as early as
65
possible(greedy appraoch). After getting corect bracket sequence I put the indexes of '(' in vector o and indexes of ')' in vector c in order they occur. Both

0 commit comments

Comments
 (0)