Most Asked Coding Questions In Placements

Top Coding Questions asked in Placements

Coding Questions are important in both written as well as Interview rounds. Questions provided on this page will help you in preparing for the coding rounds. Below you will find the most important codes in languages like C, C++, Java and Python.

Page Highlights

  • About Coding Questions
  • Introduction to Programming
  • Most Asked Coding Questions
top programming interview questions pdf

About Coding Questions

Coding Questions are very important, in both online assessments and technical interviews. Depending on the profile interviewers ask candidates conceptual questions about a program or can ask the candidate to write the whole code for any given question.

Introduction to Programming

There are primarily four programming languages on which interviewers can ask questions. You can prepare for coding languages here:-

Other than coding languages, the placement process also requires one to learn about DBMS and DSA.

Most Asked Coding Questions

Below we have given the most commonly asked coding questions in placement and interviews.

  1. Most asked Coding Questions (PrepInsta Top 100 Codes)
  2. Most asked Coding Questions DSA (PrepInsta Top 100 DSA)

Prime Course Trailer

Related Banners

Get PrepInsta Prime & get Access to all 200+ courses offered by PrepInsta in One Subscription

Top 50 Coding Interview Questions

1. Write a code to reverse a number

(Use Coupon Code CT10 and get flat 10% off on your PrepInsta Prime Subscription.)

2. Write the code to find the Fibonacci series upto the nth term.

3. Write code of Greatest Common Divisor 

Use Coupon Code “CT10” and get flat 10% OFF on your PrepInsta Prime subscription.

4. Write code of  Perfect number

5. Write code to Check if two strings are Anagram or not

6. Write code Check if the given string is Palindrome or not

7. Write code to Calculate frequency of characters in a string

8. Write code to check if two strings match where one string contains wildcard characters

9. Write a code for bubble sort

10. How is the merge sort algorithm implemented?

11. Write to code to check whether a given year is leap year or not.

12. Find non-repeating characters in a string

13. Write a code to replace a substring in a string.

Use Coupon Code “CT10” and get flat 10% OFF on your PrepInsta Prime subscription.

14. Write a code for Heap sort.

15. Write a code to replace each element in an array by its rank in the array

16. Write a code to find circular rotation of an array by K positions.

17. Write a code to find non-repeating elements in an array.

18. Write a code to check for the longest palindrome in an array.

19. Write a code to find the factorial of a number.

20. Write the code to for Armstrong number

21. Write a program to find the sum of Natural Numbers using Recursion.

22. Write a program to add Two Matrices using Multi-dimensional Array.

23. Write a Program to Find the Sum of Natural Numbers using Recursion.

24. Write code to check a String is palindrome or not?

25. Write a program for Binary to Decimal to conversion

26. Write a program to check whether a character is a vowel or consonant

27. Write a code to find an Automorphic number

28. Write a code to find Find the ASCII value of a character

29. Write a code to Remove all characters from string except alphabets

Use Coupon Code “CT10” and get flat 10% OFF on your PrepInsta Prime subscription.

30. Write a code to Print the smallest element of the array

31. Write a code to Reverse the element of the array

32. Write a code to Sort the element of the array

33. Write a code to Sort the element of the array without sort method

34. Write a code to Replace a Substring in a string

35. Write a code to Remove space from a string

36. Write a code to Count Inversion

37. Write a code to find consecutive largest subsequence

38: Write a Program to Find out the Sum of Digits of a Number.

39: Write a Program to Find out the Power of a Number

40: Write a Program to Find out the Sum of Digits of a Number.

41: Write a Program to Add two Fractions

42: Write a Program to Find the Largest Element in an Array.

43: Write a Program to Find the Roots of a Quadratic Equation

44: Write a Program to Find the Prime Factors of a Number.

45: Write a Program to Convert Digits to Words.

46: Write a Program to Find the Factorial of a Number using Recursion.

47: Write a Program to Reverse an Array

48. Write code to check if two strings match where one string contains wildcard characters

49: Write a Program to find out the Spiral Traversal of a Matrix.

50. Write a code to find Fibonacci Series using Recursion