3239 - Find the Next Letter
Forum rules
Remember that posting AC code is not allowed here. If you are going to ask a question or to post a solution, describe your algorithm instead. Posting AC code will be penalized.
Remember that posting AC code is not allowed here. If you are going to ask a question or to post a solution, describe your algorithm instead. Posting AC code will be penalized.
- ymondelo20
- Posts: 1968
- Joined: 7 years ago
- Location: Universidad de las Ciencias Informáticas
- Gender:
- Contact:
Re: 3239 - Find the Next Letter
Los casos de prueba parecen estar débiles puesto que la solución FB con costo O(T * N^2) da AC. Hay soluciones lineales para este problema.
Re: 3239 - Find the Next Letter
si con la idea de la pila te sale lineal, no debería pasar eso, Saludosfrankr wrote:Los casos de prueba parecen estar débiles puesto que la solución FB con costo O(T * N^2) da AC. Hay soluciones lineales para este problema.
teruel