How can I optimize Palindrome Reorder problem's solution on CSES.fi?

Правка en1, от meirbekbolatbekov002, 2021-09-10 11:23:26

This code passes majority of testcases on CSES.fi except the ones from 6-9 for which I keep getting TLE. Tried many times, but could not fix it. Any hints?

Link to the problem

Теги #cses, #cses_introductory, #palindrome, nhow

История

 
 
 
 
Правки
 
 
  Rev. Язык Кто Когда Δ Комментарий
en1 Английский meirbekbolatbekov002 2021-09-10 11:23:26 336 Initial revision (published)