An alternate approach using eval for Google Kickstart 2020 Round B problem Robot Path Decoding

Правка en1, от dush1729, 2020-04-20 16:08:18

Problem: https://codingcompetitions.withgoogle.com/kickstart/round/000000000019ffc8/00000000002d83dc

We can solve above problem using stack. But we can use eval from python 2 library also to solve this question. Thanks to sonu628 for this idea. But unfortunately this solution gives Runtime Error(RE) for second test and Accepted for first test. Can we fix this?

Solution: https://ideone.com/dDwtoM

Теги #googlekickstart, #python

История

 
 
 
 
Правки
 
 
  Rev. Язык Кто Когда Δ Комментарий
en1 Английский dush1729 2020-04-20 16:08:18 640 Initial revision (published)