Skip to content

Dipin Krishna

I love to code. If you feel the same, then i have some cool codes for you. They are simple but good to get started.

  • Home
  • Blog
  • Privacy Policy
  • About
  • Contact
  • Home
  • Blog
  • Privacy Policy
  • About
  • Contact

Tag Archives: Right

Home/Posts Tagged: Right
python

Python: Array/List Rotation – Right

Sep 19, 2018Dipin KrishnaCoding, PythonArray Rotation, Python, Right

Python program to rotate an array towards its right Inplace Method # Rotate Array def roateRight(arr, size, rotate_count): array_length = len(arr) if array_length <= 0: return arr   if size > array_length: size = array_length   # Figure out effective roation count # eg: size = 10 and rotation_count = 15 # effective roation_count is

Read More

Search

Theme by Think Up Themes Ltd. Powered by WordPress.