• Image placeholder
  • 홈 페이지
  • 블로그 센터
  • 범주
Image placeholder

isPalindrome

234. Palindrome Linked List Python3

Given the head of a singly linked list, return true if it is a palindrome. Example 1: Example 2: Constraints: [실행 결과] Runtime: 914 ms / Memory : 47.4MB [접근법] 저번에 적었던 코드를 써먹자 해서 연결 리스트를 문자열로 변환해주는 함수를 만들고 변환해준 후 써먹었다. 맨 처...

isPalindromelinkedlist to stringlinkedlistisPalindrome

© 2022 intrepidgeeks.com

Privacy Policy Contact US Sitemap
🍪 This website uses cookies to ensure you get the best experience on our website. Learn more