/fun

Primary LanguagePython

Fun

Little programs, just for fun.

  • add_by_bit.c: Implement an adder by C. A function for caculating the sum of two int number without + - * /

  • first_appare_onlyonce.py: Get the very first character that appears only once from a string. Assume ascii.

  • n_factorial_numberof_zeroes.py Caculate number of zeroes of N! with given N.

  • symmetric_string.py Get the longest symmetric substring from a string. Manacher Algorithm. (Assume the string doesn't have # ? $)