Home
Videos
Mentorship
Tech Challenges
Toggle navigation
Home
Learn
Mentorship
Video Courses
Bootcamp
practice
Code Kata
Puzzles
Jobs
Tech Challenges
More
Mentors
Blogs
The Team
Refer and Earn !
Code Kata-Beginner
Conditions - If
1. Check whether a number is positive or negative or zero.
2. Check whether a number is even or odd
3. Check whether a character is vowel or consonant
4. Checker whether a character is an alphabet or not
5. Find the largest number among three numbers entered by user
6. Check whether the entered year is leap year or not
Write the below programs using For,While,Do while
1. Write a program to print "Hello" word 5 times.
2. Calculate sum of natural numbers
3. Calculate sum of N using for Loop
4. Count number of digits of an integer
5. Calculate the power of a number
6. Check whether a number is palindrome or not
7. Check whether a number is prime or not
8. Display odd numbers between two intervals
9. Display odd numbers between two intervals
10. Display even numbers between two intervals
11. Display Prime numbers between two intervals
12. Check armstrong number
13. Display armstrong number between two intervals
14. Find factorial of a number
15. Generate multiplication table
16. Display fibonacci series
17. Find HCF or GCD
18. LCM of two numbers entered by user
19. HCF of two numbers entered by user
20. Reverse a number
21. Print all the ASCII value using loops
22. Count the characters,numbers,alphanumerical in a given string
23. Write a program that will exit When I press Q in keyboard
24. Write a program to calculate the sum of all the numbers less than a given number n
ex: output
Enter number : 3
6
ex: output
Enter number : 5
15
25. Write a program to print sum of numbers from 1 to 15 (inclusive) and sum of odd numbers from 15-45 (inclusive)
26. Count the number of characters in given line
27. Count the number of words in given line
28. Count the number of lines in give paragraph
29. Count the numeric characters in given string
30. Count the special characters in given string
31. Write a program to swap two numbers using a temporary variable
32. Write a program to swap two numbers without using a temporary variable.
33. Write a program to swap two numbers using bitwise operators.
34. Write a program to find the greatest of three numbers.
35. Write a program to find the greatest among ten numbers.
36. Write a program to generate the fibonacci series.
37. Write a program to print "Hello World" without using semicolon anywhere in the code.
38. Write a program to compare two strings without using strcmp() function.
39. Write a program to concatenate two strings without using strcat() function.
40. Write a C program which asks the user for a number between 1 to 9 and shows the number. If the user enters above the range show message as "you entered number is not in range"
41. Inputs a number out of the specified range, the program should show an error and prompt the user for a valid input.
42. Write a program to display the multiplication table of a given number
43. Highest and lowest number in array using C
44. Average of an array element in C
References:
http://www.codekatas.org/
Sphere Online Judge: Over 1800 problems, solvable in a lot of languages.
Project Euler: Lots of math problems.
http://codeforces.com/
Code Chef
TDD Problems
CodeKata
Top Coder
Google Code Jam
UVa Online Judge
Schuchert - Katas
https://leetcode.com/problemset/algorithms/#
http://codingbat.com/java
http://coderbyte.com/CodingArea/Challenges/
http://codegolf.stackexchange.com/questions/tagged/number
http://courses.csail.mit.edu/iap/interview/materials.php
http://codercareer.blogspot.in/
http://www.intertechtion.com/answers/
http://www.careercup.com/
Books:
Algorithm puzzles by Ananylevitin and Maria levitin
Puzzles:
http://everything2.com/title/hard%2520interview%2520questions