Assorted stuff related to coding. Mostly code snippets illustrating how to do this and how to do that. Given our programming language preference, a lot of the code here is going to be in Java.
- How to reverse a sentence of words (without reversing the individual words)
- How to convert an integer to string
- How to convert a string to integer
- How to detect if a specified string is a palindrome
- How to remove all occurrences of letters of a pattern string from an input string
- Compute all prime numbers less than a given number n