You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
| 2730 |[Find the Longest Semi-Repetitive Substring](src/main/kotlin/g2701_2800/s2730_find_the_longest_semi_repetitive_substring)| Medium | String, Sliding_Window | 251 | 84.62
2868
2869
| 2729 |[Check if The Number is Fascinating](src/main/kotlin/g2701_2800/s2729_check_if_the_number_is_fascinating)| Easy | Hash_Table, Math | 131 | 100.00
| 2698 |[Find the Punishment Number of an Integer](src/main/kotlin/g2601_2700/s2698_find_the_punishment_number_of_an_integer)| Medium | Math, Backtracking | 133 | 100.00
| 2694 |[Event Emitter](src/main/kotlin/g2601_2700/s2694_event_emitter)| Medium || 45 | 99.58
2898
+
| 2694 |[Event Emitter](src/main/kotlin/g2601_2700/s2694_event_emitter)| Medium || 50 | 90.72
2898
2899
| 2693 |[Call Function with Custom Context](src/main/kotlin/g2601_2700/s2693_call_function_with_custom_context)| Medium | Array, Dynamic_Programming, Matrix | 51 | 97.92
2899
2900
| 2685 |[Count the Number of Complete Components](src/main/kotlin/g2601_2700/s2685_count_the_number_of_complete_components)| Medium | Array, Dynamic_Programming, Depth_First_Search, Breadth_First_Search, Matrix, Graph | 436 | 100.00
2900
2901
| 2684 |[Maximum Number of Moves in a Grid](src/main/kotlin/g2601_2700/s2684_maximum_number_of_moves_in_a_grid)| Medium | Array, Dynamic_Programming, Matrix | 509 | 100.00
**Input:** head = [1,2,3,4,5,6,null,null,null,7,8,9,10,null,null,11,12]
19
19
20
20
**Output:**[1,2,3,7,8,11,12,9,10,4,5,6]
21
21
22
-
**Explanation:** The multilevel linked list in the input is shown. After flattening the multilevel linked list it becomes: 
22
+
**Explanation:** The multilevel linked list in the input is shown. After flattening the multilevel linked list it becomes: 
**Explanation:** The multilevel linked list in the input is shown. After flattening the multilevel linked list it becomes: 
32
+
**Explanation:**
33
+
34
+
The multilevel linked list in the input is shown.
35
+
After flattening the multilevel linked list it becomes:
To serialize all levels together, we will add nulls in each level to signify no node connects to the upper node of the previous level. The serialization becomes:
0 commit comments