There are two strings. We need to find if one string is a rotation of the other. If yes then how many places it was rotated. The solution is pretty straightforward. I will describe two ways in this post. Continue reading
Categories
- Computer Science (63)
- C Language (16)
- Coding Discussions (30)
- Linux / Unix Shell (16)
- Others (4)
- Overview (3)
- Entertainment (4)
- GNU+Linux+FOSS (41)
- Humor (17)
- Writings (5)
- Computer Science (63)
Tags
api array bash boot C++ casual combinatorics counting C program fedora firefox gcc gimp google graphics grub html id3 implementation defined behaviour internet ipod linux numerical octave poll prime number Programming R random number recursion shift operators skype undefined behavior video wallpaper wordpress workflowStackOverflow
Area51 Stackexchange Proposals to Follow
Top 10
- Floating point math operations in bash
- Implement stack using a queue
- Read multiple arguments in bash script
- Choose login manager GDM or KDM in Fedora
- C Language Constructors and Destructors with GCC
- Little and Big Endian conversion
- Fix dark video in Skype for Linux
- Recursive Solution to Towers of Hanoi
- Geeky Code Wallpaper with GIMP
- Wordpress.com Stats API
Recent Comments
Polls








