본문 바로가기

anothel의 지식 창고

검색하기
anothel의 지식 창고
프로필사진 anothel

  • 전체보기 (329)
    • 기술 노트 (154)
      • Apache Spark (5)
      • CMake (1)
      • Docker (1)
      • Google Code Style Guide (14)
      • Hooking (1)
      • Network (1)
      • Oracle (1)
      • SQLite (1)
      • WinDbg (0)
      • 정보보안기사 (108)
    • 독서 기록 (50)
    • 성장 일지 (5)
    • 연습장 (120)
Guestbook
Notice
Recent Posts
Recent Comments
Link
  • github
«   2025/05   »
일 월 화 수 목 금 토
1 2 3
4 5 6 7 8 9 10
11 12 13 14 15 16 17
18 19 20 21 22 23 24
25 26 27 28 29 30 31
Tags
  • 리눅스
  • 반복해서
  • 더
  • codewars
  • 열심히
  • 레벨2
  • 저
  • 연습하는
  • ^
  • 백트래킹
  • 하늘이
  • dfs
  • 빨리
  • 마이유폰
  • 우물 안 개구리
  • 너무
  • 목표
  • 같다.
  • 얼른
  • 그래서
  • 동적계획법
  • 민병철 전화영어
  • 하늘 위에
  • 한번에
  • XOR
  • 의
  • 회고록
  • 나는
  • 하나씩
  • 그래도
more
Archives
Today
Total
관리 메뉴
  • 글쓰기
  • 방명록
  • RSS
  • 관리

목록하늘 위의 하늘 (1)

anothel의 지식 창고

Can you get the loop?

You are given a node that is the beginning of a linked list. This list always contains a tail and a loop. Your objective is to determine the length of the loop. For example in the following picture the tail's size is 3 and the loop size is 12: // Use the `getNext()` method to get the following node. nodePtr->getNext() Solution #include int getLoopSize(Node* startNode) { Node *next, start; int re..

연습장 2021. 10. 28. 19:10
이전 Prev 1 Next 다음

Blog is powered by kakao / Designed by Tistory

티스토리툴바