ODDN
close
프로필 배경
프로필 로고

ODDN

  • 분류 전체보기 (176)
    • 개발 (50)
    • 알고리즘 (121)
    • 일상 (5)
  • HOME
  • Github
  • LinkedIn
[leetcode] 336. Palindrome Pairs (팰린드롬 페어) [leetcode] 336. Palindrome Pairs (팰린드롬 페어) 문제 설명 Given a list of unique words, return all the pairs of the distinct indices (i, j) in the given list, so that the concatenation of the two words words [i] + words [j] is a palindrome. Example 1: Input: words = ["abcd", "dcba", "lls", "s", "sssll"] Output: [[0,1], [1,0], [3,2], [2,4]] Explanation: The palindromes are ["dcbaabcd", "abcddcba", "slls", "llssssll"] Example 2: Input: words = ["ba..
2021. 4. 18.
알고리즘
  • navigate_before
  • 1
  • navigate_next
전체 카테고리
  • 분류 전체보기 (176)
    • 개발 (50)
    • 알고리즘 (121)
    • 일상 (5)
전체 방문자
오늘
어제
전체

티스토리툴바