Questions: 1 978

Answers by our Experts: 1 850

Need a fast expert's response?

Submit order

and get a quick answer at the best price

for any assignment or question with DETAILED EXPLANATIONS!

Search & Filtering

Given two single linked lists, write a C code to merge their nodes together to make one list, taking nodes alternately between the two lists. So the output with {1, 2, 3} and {7, 13, 1} should yield {1, 7, 2, 13, 3, 1}. If either list runs out, all the nodes should be taken from the other list.

Given a BST and a range low-to-high(inclusive). Write a C code to count the number of nodes in the BST that lie in the given range.




5. Write a C program to calculate area of an equilateral triangle.

write a program to find the duplicate number in the array



which is also prime.

Write a C program to find (x+b)^2 output.





1. Write a C program that will convert Second into Minute and Hour.


2. Write a C program that will enter marks of three Quizzes calculate the mean


of this marks. (Mean and Total)


3. Write a C program to find (x+b)2


output.


4. Write a C program to enter base and height of a triangle and find its area.


5. Write a C program to calculate area of an equilateral triangle.

A palindrome is a word, phrase, number or other sequence of characters which reads the same backward and forward. Write a C program that enter a word, store it in an array and determine whether it is palindrome or not.


Example : CIVIC is a palindrome

HOT is a not a palindrome


The placement session has begun in a college. There is N number of students standing outside an interview room in a line. It is given that the person who goes first has higher chances of selection.


Each student has a number associated with them representing their problem-solving capability. The higher the capability the higher the chances of selection. Now every student wants to know the number of students ahead of him with higher problem-solving capability.


Input: 6(number of students) {4 , 9 , 5 , 3 , 2 , 10}


Output: {0 , 0 , 1 , 3 , 4 , 0}





The placement session has begun in a college. There is N number of students standing outside an interview room in a line. It is given that the person who goes first has higher chances of selection.


Each student has a number associated with them representing their problem-solving capability. The higher the capability the higher the chances of selection. Now every student wants to know the number of students ahead of him with higher problem-solving capability.


Input: 6(number of students) {4 , 9 , 5 , 3 , 2 , 10}


Output: {0 , 0 , 1 , 3 , 4 , 0}





The placement session has begun in a college. There is N number of students standing outside an interview room in a line. It is given that the person who goes first has higher chances of selection.




Each student has a number associated with them representing their problem-solving capability. The higher the capability the higher the chances of selection. Now every student wants to know the number of students ahead of him with higher problem-solving capability.




Input: 6(number of students) {4 , 9 , 5 , 3 , 2 , 10}




Output: {0 , 0 , 1 , 3 , 4 , 0}







LATEST TUTORIALS
New on Blog
APPROVED BY CLIENTS