Javatpoint Logo
Javatpoint Logo

Must do coding questions

In this article, we will be looking into some of the must-do coding questions that are frequently asked by the recruiters. These questions are also important to build logic in programming. We will be looking at each aspect of programming and data structure-based questions.

1. Arrays

a. Kadane's Algorithm

b. Merging without extra space

c. Union of two sorted arrays

d. Missing Number sequence

e. Largest Increasing Subsequence

f. Missing Number in an array

g. Trapping rainwater problem

h. Chocolate distribution problem

2. Divide and Conquer

a. Iterative Binary Search

b. Recursive Binary Search

c. Merge Sort

d. Quick Sort

3. Greedy Algorithms

a. Minimum Spanning Tree (MSPs)

b. Largest possible number

4. Sorting

a. Bubble Sort

b. Insertion Sort

c. Selection Sort

5. Strings

a. Longest Common Substring

b. Longest Palindromic Substring

c. Balanced Parenthesis Checker

d. Anagram Checker

e. Removing duplicates from a string

f. String reversal

6. Graph Algorithms

a. Breadth First Search

b. Depth First Search

c. Dijkstra's Shortest Path Algorithm

d. Shortest path to destination problem

e. Flood-fill Algorithm

f. Check whether paths exists or not

7. Dynamic Programming

a. Knapsack Problem

b. Longest Common Subsequence

c. Box Stacking problem

d. Fibonacci Series

e. Maximum size square submatrix

f. Number of paths available

g. Special Keyboard problem

h. Maximum Weighted Path problem

i. Segmental Cuts problem

j. Binomial Coefficient


Next TopicFSM Machine





Youtube For Videos Join Our Youtube Channel: Join Now

Feedback


Help Others, Please Share

facebook twitter pinterest

Learn Latest Tutorials


Preparation


Trending Technologies


B.Tech / MCA