# | User | Rating |
---|---|---|
1 | tourist | 3775 |
2 | Benq | 3724 |
3 | orzdevinwang | 3697 |
4 | Radewoosh | 3651 |
5 | jiangly | 3632 |
6 | cnnfls_csy | 3620 |
7 | -0.5 | 3545 |
8 | inaFSTream | 3478 |
9 | fantasy | 3468 |
10 | Rebelz | 3415 |
# | User | Contrib. |
---|---|---|
1 | adamant | 178 |
2 | awoo | 167 |
3 | BledDest | 165 |
4 | Um_nik | 163 |
5 | maroonrk | 162 |
6 | SecondThread | 160 |
7 | nor | 158 |
8 | -is-this-fft- | 154 |
9 | kostka | 146 |
10 | TheScrasse | 144 |
How to solve below problem statement.
given a string s which contains only curly braces and questions was what is the minimum number of operations to become it valid expression and return corrected string. There are three operations:
insert { or } in any position
delete { or } in any position. flip any position so { change by } or vice versa.
Please provide full explaination. Thanks in advance. link
Please help in thought process .Link of Problem
You can check many solutions have passed main test also which was only 67 and now it has 100 test cases , don't you think solutions should be rejudged.
Hi can any one please explain the approach to solve this question; (https://www.codechef.com/START24B/problems/PALINLOVE) Thanks in advance.
Please explain how to solve this problem. https://cses.fi/problemset/task/1110
There is an array of strings. Suppose there is a string whose last character matches with the first character of another string. In that case those two form a ring. You have the find the maximum length of the ring formed by the strings in the array. Let me explain the problem with an example. Suppose the array of strings is {ear, track, tired, rat, doe}. Here the maximum ring will be ear->rat->tired->doe>ear. So, the length will be 4.
If possible please provide code also .
Name |
---|