Tag:Special judgment

  • On palindrome number

    Time:2021-3-27

    Title Description For a natural number n, if the number N1 obtained by inversing the digits of n is equal to N, then n is called palindrome number, such as 2332.If given an n (2 < = n < = 16) base number m (the length of M is less than 100 bits), if M […]

  • Linked list (template) class

    Time:2021-1-20

    The linked list class relies on the cmath header file, which is implemented by listnode and list ListNode.h: 1 /********************************************* 2 ListNode.h 3 list node (template) class listnode 4 T node data Node pointer before 5 pred Node pointer after 6 succ 7 listnode / listnode (T, t *, t *) construction Insert node before […]