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

Write a program to check that the left sub-tree of an binary tree (Not BST) is mirror image of its right sub-tree.


Write a program to construct a binary tree from given sequence of preorder and inorder traversal of the tree (preorder & inorder sequence is to be entered by the user).


Write a program to implement four numbers of D-queues in an array.


PROGRAM SHOULD BE IN C LANGUAGE...

You are given employees database. Your code should perform the following tasks on this file.

  1. Read the file.
  2. Search and display the contents of file based on nameage and salary of employees.
  3. Sort the data in ascending order based on the name (alphabetical order), age or salary of employees.
  4. Edit the records and write the updated records back on the file.
  5. The file is in text mode, the user should be able to save this file (with a different name) in the binary mode.

You have to create a proper menu driven program so that the user can select the options. You must also make separate functions for all the above-mentioned tasks.

EMPLOYEE DATABASE:

Jameel_Ahmed

29

45000


Tauqeer_Abbas

43

56000


Hanzala_Masood

32

47000


Irum_Baig

27

40000


Munawar_Shakeel

59

132000


Maryam_Zahid

24

35000


Zainab_Mirza

34

49000


Aftab_Anjum

40

52000


Atif_Majeed

39

120000


Bushra_Nazeer

33

78000


Write a program to implement round robin scheduling concept using a linked list. Each node will represent a process with attributes as <PID, CPU_time>. A quantum time T will be input by the user.

A process will be executed (when user wants) for quantum time T and the CPU_time will be updated with CPU_time T, and the current process node is deleted from the beginning and added to the end of the list. If the updated CPU_time is <=0, then the process is deleted from the list.

After a process is executed for T time, the the next process in the queue is executed upon user choice. The entire process gets completed when all process nodes are deleted.


write a c program to print the transaction number,energy cost,energy units,rural electrification tax for the 5th customer of day 2 of November 2021. create tripple pointer for above customer

Let's try defining the size of the array and create the contents of it on our own! And then, to give off a sense of excitement, let's try accessing the value of an array element in a random index position!




Write a program to print the transaction number,customer name, cost of energy, energy units, rural electrification tax for the fifth customer of day 2 November.



Create a triple pointer for the above customer's energy and print it

you have been an integer array A of size N.you need to pfint the number with the value closest to zero.if there are multiple elements print the number with greater value.

How to Attempt?


Wedding Game


In a wedding that you are attending, there are some chairs that have digits inscribed at their backs. The chairs are lined in a row such that they form a string of the digits. Find the minimum number of sets M that can be formed from these digits such that:


1. The number of digits in each set is one or more than one. 2. Each set is formed using consecutive digits and no digit can be used more


than once.


3. In each set, the number formed using the digits is less than or equal to Y.


Input Specification:


input1: S, string of digits


input2: Y. No number should be greater than Y


input3: Size of the String S


Output Specification:


Your function should return M, the minimum number of sets




LATEST TUTORIALS
New on Blog
APPROVED BY CLIENTS