Below is the list of commonly asked programming puzzles in a technical interviews –

- Add two numbers without using addition operator | 4 methods

- Implement power function without using multiplication and division operators

- Print all numbers between 1 to N without using semicolon

- Swap two numbers without using third variable | 5 methods

- Determine the if condition to print specific output

- Find maximum, minimum of three numbers without using conditional statement and ternary operator | 4 methods

- Print “Hello World” with empty main() function | 3 methods

- Tower of Hanoi Problem

- Print all numbers between 1 to N without using any loop | 4 methods

- Print a semicolon without using semicolon anywhere in the program

- Multiply two numbers without using multiplication operator or loops

- Find square of a number without using multiplication and division operator | 3 methods

- Generate power set of a given set

- Clock angle problem | Find angle between hour and minute hand

- Find if a number is even or odd without using any conditional statement

**Thank you for being with us. 🙂**

## Leave a Reply