You are given two arrays sorted in ascending order. Write a C Program to merge the elements of the two arrays and to form a single array sorted in ascending order.
Given a string s, write a C program to find the length of the longest substring without repeating characters. Also, display the substring.
Write a program to find the smallest number in a list of integers using pointers
Implement the following string library functions using pointers:
Implement bubble sort without using an array (Use pointers instead)
Cycle - 2 (Search)
Implement Linear Search.
Implement Binary Search.
Implement Stack using an array.
Write a program in C to check whether a string is palindrome or not, using stack.
Cycle - 3
Using stack, convert an infix expression to a postfix expression and evaluate the postfix expression.
Write a program to convert an infix expression to a prefix expression using stack.
Convert an infix expression to a postfix expression without using stack.
Implement a Queue using arrays with the operations:
Insert elements into the queue
Delete elements from the queue
Display the contents of the queue after each operation
Implement a Circular Queue using arrays with the operations:
Insert elements into the queue
Delete elements from the queue
Display the contents of the queue after each operation
Implement a Priority Queue using arrays with the operations:
Insert elements into the queue
Delete elements from the queue
Display the contents of the queue after each operation
Implement a Double-Ended Queue using arrays with the operations:
Insert elements into the queue (both front and size)
Delete elements from the queue (both front and size)
Display the contents of the queue after each operation
Cycle - 4
Write a program to read two polynomials and store them in an array. Calculate the sum of the two polynomials and display the first polynomial, the second polynomial and the resultant polynomial.
Write a program to enter two matrices in normal form. Write a function to convert two matrices to a tuple form and display it. Also, find the transpose of the two matrices represented in tuple form and display it. Find the sum of the two matrices in tuple form and display the sum in tuple form.
Cycle - 5
Write a menu-driven program for performing the following operations on a linked list
Display
Insert at beginning
Insert at the end
Insert at a specified position
Delete from the beginning
Delete from the end
Delete from a specified position
Create a doubly linked list from a string taking each character from the string.
Check if the string is palindrome in an efficient method.
Implement a stack using a linked list with the operations:
Push
Pop
Display the contents of the stack
Implement a queue using linked lists with the following operations
Enqueue
Dequeue
Display the contents of the queue
Write a program to reverse the contents of a queue using stack
Write a program to read two polynomials and store them using a linked list.
Calculate the sum of the two polynomials and display the first polynomial,
the second polynomial and the resultant polynomial.
Write a program to read two polynomials and store them using a linked list.
Calculate the product of the two polynomials and display the first polynomial,
the second polynomial and the resultant polynomial.
Write a program for addition of polynomials containing two variables using a linked list.
The terms of the
polynomials are ordered by the power of the first variable and then the second variable, in the descending
order.
Eg: 4.x^3.y^1 + 2.x^2.y^3 + 5.x^1.y^2+7.y^2+7.y^1+5