{"comment":{"url":"https://api.github.com/repos/Solangeburgos/Palindroma-y-Listas/comments/22122826","html_url":"https://github.com/Solangeburgos/Palindroma-y-Listas/commit/2b467688fdef25f60ceb3475e9358bdba4ac2821#commitcomment-22122826","id":22122826,"user":{"login":"ingenieriauaa","id":27014838,"avatar_url":"https://avatars2.githubusercontent.com/u/27014838?v=3","gravatar_id":"","url":"https://api.github.com/users/ingenieriauaa","html_url":"https://github.com/ingenieriauaa","followers_url":"https://api.github.com/users/ingenieriauaa/followers","following_url":"https://api.github.com/users/ingenieriauaa/following{/other_user}","gists_url":"https://api.github.com/users/ingenieriauaa/gists{/gist_id}","starred_url":"https://api.github.com/users/ingenieriauaa/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ingenieriauaa/subscriptions","organizations_url":"https://api.github.com/users/ingenieriauaa/orgs","repos_url":"https://api.github.com/users/ingenieriauaa/repos","events_url":"https://api.github.com/users/ingenieriauaa/events{/privacy}","received_events_url":"https://api.github.com/users/ingenieriauaa/received_events","type":"User","site_admin":false},"position":13,"line":13,"path":"workspace/practica5-5/src/palindromo/Palindromo.java","commit_id":"2b467688fdef25f60ceb3475e9358bdba4ac2821","created_at":"2017-05-12T17:39:01Z","updated_at":"2017-05-12T17:39:01Z","body":"Ahora, al tratarse de un String, se tiene que obtener el tamaño de la palabra con el método length(). Al mismo tiempo podemos restarle 1 para evitar un desbordamiento al momento de recorrer la palabra letra por letra (ya que los índices de un String, al igual que en los vectores, es de 0 a su longitud-1).\r\n\r\nPara nuestro caso quedaría:\r\n```\r\n\t\tint j = p.length() - 1;\r\n```"}}
{"actor":{"display_login":"ingenieriauaa"}}