TOP INTERVIEW CODING PROBLEMS &
CHALLENGES
Run-length encoding (find/print frequency of letters in a string)
Sort an array of 0's, 1's and 2's in linear time complexity
Checking Anagrams (check whether two string is anagrams or not)
Relative sorting algorithm
Finding subarray with given sum
Find the level in a binary tree with given sum K
Check whether a Binary Tree is BST (Binary Search Tree) or not
1[0]1 Pattern Count
Capitalize first and last letter of each word in a line
Print vertical sum of a binary tree
Print Boundary Sum of a Binary Tree
Reverse a single linked list
Greedy Strategy to solve major algorithm problems
Job sequencing problem
Root to leaf Path Sum
Exit Point in a Matrix
Find length of loop in a linked list
Toppers of Class
Print All Nodes that don't have Sibling
Transform to Sum Tree
Shortest Source to Destination Path
list of the latest update c programs
C program to find second smallest element in a one dimensional array. - December 05,
2018
C program to find two largest elements in a one dimensional array. - December 05, 2018
C program to find second largest elements in a one dimensional array. - December 04,
2018
C program to create a new array from a given array with the elements divisible by a
specific number. - December 04, 2018
C program to count total number of elements divisible by a specific number in an array.
- December 04, 2018
Define a Macro to round a float value to nearest integer in C. - November 26, 2018
Modify value stored in other variable using pointer in C. - November 14, 2018
Making a valid pointer as NULL pointer in C. - November 14, 2018
An Example of Null pointer in C. - November 14, 2018
Creating string buffer (character pointer), allocating memory at run time in C. -
September 26, 2018
C program to solve Polynomial and Differential Equations. - July 31, 2018
C program to demonstrate zombie process. - July 26, 2018
C program to demonstrate orphan process. - July 26, 2018
Check EVEN or ODD using Macro in C language. - May 22, 2018
C program to read enter key, How to identify ENTER KEY is pressed in c programming
language? - May 05, 2018
‘unsigned char’ - Declaration, Assign and Usage in C programming. - May 05, 2018
va_start() and va_end() functions of stdarg.h in C. - April 20, 2018
longjmp() function of setjmp.h in C. - April 20, 2018
localeconv() function of locale.h in C. - April 20, 2018
C program to create dynamic memory for integer, character and float. - April 14, 2018
C program to swap first element with last, second to second last and so on (reversing
elements). - April 14, 2018
C program to find nearest lesser and greater element in an array. - April 14, 2018
C program to merge two arrays in third array which is creating dynamically. - April 14,
2018
C program to calculate median of an array. - April 13, 2018
C program to read time in string format and extract hours, minutes and second also
check time validity. - April 10, 2018
C program to swap adjacent characters of a string. - April 05, 2018
C program to eliminate all vowels from a string. - April 05, 2018
C program to remove alphabets from an alphanumeric string. - April 05, 2018
C program to convert a string to sentence case. - April 05, 2018
C program to remove all spaces from a given string. - April 05, 2018
C program to check given number is divisible by A and B. - March 27, 2018
In this C program, we will read name and marital status of a girl and print her name Miss
or Mrs based on given marital status. - March 27, 2018
C program to swap two string using user define function. - March 26, 2018
C program to pass an array of structures to a user define function. - March 22, 2018
C program to pass a structure to a user define function. - March 22, 2018
C program to pass two dimensional array (Two-D array) to a function. - March 22, 2018
C program to pass function as an argument to a function. - March 22, 2018
C program to pass multiple type of arguments to a function. - March 22, 2018
C program to pass an array of strings to a function. - March 20, 2018
C program to pass a string to a function. - March 20, 2018
C program to swap elements of two integer arrays using user define function. - March
20, 2018
C program to find sum of the array elements (pass an integer array to a function and
return the sum). - March 20, 2018
C program to pass a one dimensional (1D) array to a function. - March 20, 2018
C program for sin(x) series. - March 19, 2018
C program to find the sum of series 1^2/1! + 2^2/2! + 3^2/3! + 4^2/4! + ... n^2/n!. -
March 18, 2018
C program to find the sum of series 1.2/3 + 2.3/4 + 3.4/5 + 4.5/6 + ... + n(n +1)/(n+2). -
March 18, 2018
C program to find the sum of series x + x/2! + x/4! + ... + x/n!. - March 18, 2018
C program to copy one string to another and count copied characters. - March 14, 2018
C program to create array with reverse elements of one dimensional array. - March 10,
2018
C program to delete prime numbers from an array. - March 09, 2018
C program to check prime numbers in an array. - March 09, 2018
Solution of Warning implicit declaration of function 'getpid' in C. - March 08, 2018
C program to print program’s name. - March 07, 2018
How to save C program's Output in a file in Linux? - March 07, 2018
Compiling C program with pthread.h library in Linux. - March 06, 2018
C program to read the yearly salary of an employee and find tax based on the given
conditions. - March 06, 2018
C program to calculate the sum of the series 1^3 -2^3 + 3^3 - 4^3 + ... N^3. - March 06,
2018
How to initialize array elements with hexadecimal values in C? - March 05, 2018
C program to calculate the sum of series 1 +1/x^1 + 1/x^2 + 1/x^3 ... + 1/x^n terms. -
March 04, 2018
C program to calculate sum of the series 1+11+111+1111+... N terms. - March 04, 2018
C program to print diamond pattern. - March 02, 2018
C program to find multiplication of two matrices. - February 28, 2018
C programs to display Pattern according to number of rows (3). - February 27, 2018
C programs to display Pattern according to number of rows (2). - February 27, 2018
C Example to subtract two integers without using Minus (-) operator. - February 25,
2018
C Example to use 'kbhit' function. - February 25, 2018
C Example for different floating point values prediction. - February 25, 2018
C Example for nested 'printf'. - February 25, 2018
C programs to display Pattern according to number of rows. - February 18, 2018
C program to print 'Rhombus' pattern. - February 16, 2018
C program for printing 'Square' pattern. - February 16, 2018
C program for 'Reverse Full Pyramid' Pattern. - February 16, 2018
C program for 'Reverse Half Pyramid' Pattern. - February 16, 2018
C program for 'Hollow Square' Pattern. - February 16, 2018
C program for printing 'Rectangle' Pattern. - February 16, 2018
C program for ‘Hollow Rectangle’ Pattern - February 14, 2018
C program for 'Full Pyramid' Pattern. - February 14, 2018
C program for ‘Half Pyramid’ Pattern. - February 14, 2018
C program to merge two sorted arrays. - January 18, 2018
C program for radix sort. - January 18, 2018
C program for heap sort. - January 18, 2018
Program for insertion and deletion in heap. - January 03, 2018
Insertion in AVL Tree using C program. - January 01, 2018
Insertion, Deletion and Traversal in Binary Search Tree. - December 24, 2017
C program to implement priority queue. - December 21, 2017
C program to implement double stack. - December 21, 2017
C program to implement circular queue using array. - December 21, 2017
Reverse a string using stack. - December 19, 2017
Implementation of Deque using Array. - December 19, 2017
Sparse matrix for 3-tuple method using Array. - December 19, 2017
C program to print ASCII values of all digits using goto statement. - November 19, 2017
C program to print ASCII values of all lowercase alphabets using goto statement. -
November 19, 2017
C program to print ASCII values of all uppercase alphabets using goto statement. -
November 19, 2017
C program to print 1, 11, 31, 61, ... 10 times using goto statement. - November 09, 2017
C program to print square and cube of all numbers from 1 to N using goto statement. -
November 09, 2017
C program to read a name and print its 10 times using goto statement. - November 07,
2017
C program to print table of a given number using goto statement. - November 07, 2017
C program to print table of 2 using goto statement. - November 07, 2017
C program to print all numbers from N to 1 using goto statement. - November 07, 2017
C program to print all numbers from 1 to N using goto statement. - November 07, 2017
C program to print ASCII value of a character. - November 07, 2017
C program to find subtraction of two integer number. - November 07, 2017
C program to read n strings and print each string's length. - October 24, 2017
Convert String to Integer in C programming language. - May 27, 201
Answers in https://www.includehelp.com/latest-c-programs.aspx