|
2110 | 2110 | "### Kattis problems\n", |
2111 | 2111 | "- Some kattis problems that can be solved using Python built-in data structures\n", |
2112 | 2112 | "\n", |
2113 | | - "1. sort - https://open.kattis.com/problems/sort\n", |
2114 | | - "2. Trending Topic - https://open.kattis.com/problems/trendingtopic\n", |
2115 | | - "3. FizzBuzz2 - https://open.kattis.com/problems/fizzbuzz2\n", |
2116 | | - "4. CD - https://open.kattis.com/problems/cd \n", |
| 2113 | + "- Midjan - https://open.kattis.com/problems/midjan\n", |
| 2114 | + " - Hint: set differences\n", |
| 2115 | + "- sort - https://open.kattis.com/problems/sort\n", |
| 2116 | + "- Tag - https://open.kattis.com/problems/jage\n", |
| 2117 | + " - Hint: use two sets to simulate hunters and cheaters\n", |
| 2118 | + " - print the sorted cheaters after simulation\n", |
| 2119 | + "- Trending Topic - https://open.kattis.com/problems/trendingtopic\n", |
| 2120 | + "- FizzBuzz2 - https://open.kattis.com/problems/fizzbuzz2\n", |
| 2121 | + "- CD - https://open.kattis.com/problems/cd \n", |
2117 | 2122 | " - Hint: implement set intersection of sorted list; don't use built-in set as it's slower for Python\n", |
2118 | | - "5. Keyboardd - https://open.kattis.com/problems/keyboardd\n", |
| 2123 | + "- Keyboardd - https://open.kattis.com/problems/keyboardd\n", |
2119 | 2124 | " - Hint: two Counters; print the difference\n", |
2120 | | - "6. Course Scheduling - https://open.kattis.com/problems/coursescheduling\n", |
| 2125 | + "- Course Scheduling - https://open.kattis.com/problems/coursescheduling\n", |
2121 | 2126 | " - Hint: Counter of courses, defaultdict(set) of courseToStudents\n", |
2122 | | - "7. Train Boarding - https://open.kattis.com/problems/trainboarding\n", |
| 2127 | + "- Train Boarding - https://open.kattis.com/problems/trainboarding\n", |
2123 | 2128 | " - Hint: Counter or List \n", |
2124 | | - "8. Shopping List - https://open.kattis.com/problems/shoppinglist\n", |
| 2129 | + "- Shopping List - https://open.kattis.com/problems/shoppinglist\n", |
2125 | 2130 | " - Hint: Use set to keep track of intersection and sort the final list \n", |
2126 | | - "9. Knigs of the Forest - https://open.kattis.com/problems/knigsoftheforest\n", |
| 2131 | + "- Knigs of the Forest - https://open.kattis.com/problems/knigsoftheforest\n", |
2127 | 2132 | " - Hint: sort contestents based on year and use priority queue keeping K contestents per year and finding the winner\n", |
2128 | | - "10. Seven Wonders - https://open.kattis.com/problems/sevenwonders\n", |
| 2133 | + "- Seven Wonders - https://open.kattis.com/problems/sevenwonders\n", |
2129 | 2134 | " - Hint: Counter\n", |
2130 | | - "11. Select Group - https://open.kattis.com/problems/selectgroup\n", |
| 2135 | + "- Select Group - https://open.kattis.com/problems/selectgroup\n", |
2131 | 2136 | " - Stack for RPN parsing and Set\n", |
2132 | | - "12. Zipf's Law - https://open.kattis.com/problems/zipfslaw\n", |
| 2137 | + "- Zipf's Law - https://open.kattis.com/problems/zipfslaw\n", |
2133 | 2138 | " - Use Counter to store frequency of each word\n", |
2134 | 2139 | " - parse character by character and ignore words with length 1\n", |
2135 | 2140 | " - words contain only alphabets; ignore case; multiple test cases in input\n", |
2136 | | - "13. Jane Eyre - https://open.kattis.com/problems/janeeyre\n", |
2137 | | - " - Simulate using Priority Queue and a sorted list of gifts or two sorted lists of books less than Jane Eyre" |
| 2141 | + "- Jane Eyre - https://open.kattis.com/problems/janeeyre\n", |
| 2142 | + " - Simulate using Priority Queue and a sorted list of gifts or two sorted lists of books less than Jane Eyre\n", |
| 2143 | + "- Overnight Oats - https://open.kattis.com/problems/overnightoats\n", |
| 2144 | + " - Use a deque to simulate the process of adding and eating oats\n", |
| 2145 | + "- Bank Closing - https://open.kattis.com/problems/bankclosing\n", |
| 2146 | + " - min proiroty queue to simulate the process" |
2138 | 2147 | ] |
2139 | 2148 | }, |
2140 | 2149 | { |
|
0 commit comments