Preview

Interview Ques

Better Essays
Open Document
Open Document
24158 Words
Grammar
Grammar
Plagiarism
Plagiarism
Writing
Writing
Score
Score
Interview Ques
Home

Questions

Search

Forum

Contact

Guest Book

Polls!

Got a Question?

q

Linked Lists r How do you reverse a singly linked list? How do you reverse a doubly linked list? Write a C program to do the same. Updated! Given only a pointer to a node to be deleted in a singly linked list, how do you delete it? Updated! How do you sort a linked list? Write a C program to sort a linked list. Updated! How to declare a structure of a linked list? Write a C program to implement a Generic Linked List. How do you reverse a linked list without using any C pointers? Updated! How would you detect a loop in a linked list? Write a C program to detect a loop in a linked list. How do you find the middle of a linked list? Write a C program to return the middle of a linked list If you are using C language to implement the heterogeneous linked list, what pointer type will you use? How to compare two linked lists? Write a C program to compare two linked lists. How to create a copy of a linked list? Write a C program to create a copy of a linked list. Write a C program to free the nodes of a linked list Updated! Can we do a Binary search on a linked list? Write a C program to return the nth node from the end of a linked list. New! How would you find out if one of the pointers in a linked list is corrupted or not? New!

r

r r r r r

r

r

r r

r r r r

r r r r

New! Write a C program to remove duplicates from a sorted linked list New! How to read a singly linked list backwards? New! How can I search for data in a linked list? New!
Write a C program to insert nodes into a linked list in a sorted fashion

q

Write your own .... r Write your own C program to implement the atoi() function Updated!

r

Implement the memmove() function. What is the difference between the memmove() and memcpy() function? Updated! Write C code to implement the strstr() (search for a substring) function. Write your own printf() function in C Implement the

You May Also Find These Documents Helpful

  • Good Essays

    Exercise 1: Review of array-based lists Create a project using the classes in the DocSharing area labeled “User-defined array list." Compile it, run it, and review the code that is given carefully. This code tests the ArrayList class provided in the lecture.…

    • 714 Words
    • 3 Pages
    Good Essays
  • Good Essays

    ECET 370 Week 5 Lab 5

    • 650 Words
    • 3 Pages

    Exercise 1: Review of the Lecture Content Create a project using the ArrayList class and the Main class provided in DocSharing. The ArrayList class contains implementations of the first three search methods explained in this week's lecture: sequential, sorted, and binary search. The Main class uses these three methods. These programs test the code discussed in the lecture. Compile the project, run it, and review the code that is given carefully.…

    • 650 Words
    • 3 Pages
    Good Essays
  • Satisfactory Essays

    In 1970 C programing was created by Dennis Richie and ken Thompson was made to create portability in UNIX…

    • 388 Words
    • 2 Pages
    Satisfactory Essays
  • Powerful Essays

    Pt1420 Unit 1 Assignment 2

    • 1305 Words
    • 6 Pages

    Das, D., Gregersen, E., Hosch, L., Lotha, G., Sampaolo, M., Sinha, S. (2014). C++. In Encyclopedia Britannica.…

    • 1305 Words
    • 6 Pages
    Powerful Essays
  • Good Essays

    Comp 220

    • 1463 Words
    • 6 Pages

    Pointers also have the requirement that the pointer type must be of the same data type as the variable, or the data that it points to or holds the address of. The power of pointers also hints at the potential complexity of their use, which is why this lab is focused almost entirely on several different aspects and uses of pointers. The lab also introduces pointer arrays and pointers to pointers.…

    • 1463 Words
    • 6 Pages
    Good Essays
  • Good Essays

    Write a MATLAB program that will read in a string and determine its position in the ordered sequence of permutations of its constituent characters.…

    • 525 Words
    • 3 Pages
    Good Essays
  • Good Essays

    This examination is designed to test your ability to calculate efficiently with the aid of MATLAB as…

    • 1357 Words
    • 17 Pages
    Good Essays
  • Good Essays

    Info1105

    • 951 Words
    • 4 Pages

    For this assignment, you will need to implement a linked list that maintains its elements in sorted order. For example, inserting , , (in that order) into a regular linked list would look like this: However, if the list maintained a sorted order, it would look like this:…

    • 951 Words
    • 4 Pages
    Good Essays
  • Satisfactory Essays

    RISC Vs Cisc Case Study

    • 1599 Words
    • 7 Pages

    T he simplest way t o examine t he advant ages and disadvant ages of RISC arc hit ec t ure is…

    • 1599 Words
    • 7 Pages
    Satisfactory Essays
  • Good Essays

    It-250 Week 5 Questions

    • 397 Words
    • 2 Pages

    4. How many names of systems libraries abbreviated on the gcc command line? Where does gcc search for libraries named in this manner? Describe how to specify your own library on the gcc command line.…

    • 397 Words
    • 2 Pages
    Good Essays
  • Good Essays

    into –OH2+, it becomes easier to break the σ-bond between the O and the C and…

    • 897 Words
    • 6 Pages
    Good Essays
  • Satisfactory Essays

    Hahahahha

    • 408 Words
    • 2 Pages

    Hahah ahhhhhhh hhhhhh hhhhhh hhhh hhhhhhhh hhhh hhhhhh hh hhh hhhhh hhhhhhhhhhhhh hhhhhhh hh hhhhhhhhhhhhhhhhhhhhh hhhhhhh hhh hhhhhhh hhhh hhhhhh hh hhhhhhhhhhhhh hhhhhhhhhhhhhhhhhh hhhhhhhhh hhhh hhh hhhhhhhhh hhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhh hhhhhhhh hhhhhhhhh hhhhhhhhhh hhhhhhh hhhhhhh hhhhhhhh hhhhhhhh hhhhhhhhh hhhhhhhh hhhhh hhhhh hhhhhhhhhh hhhhhhhhh hhhhh hhhhhhhh hhhhhhhhhhh hhhhhhhh hhhhhhhh hhhhhhhhhh hhhhhhh hhhhh hhhhhhhhh hhhhhhhh hhhhhhhh hhhhhhhhh hhhhhhh hhhhhhh hhhh hhhhhhhhhhh hhhhhhhh hhhhhhhh hhhhhhhh hhhhhhhh hhhhhhhh hhhhhhhh hhhhhhhhhh hhhhhhhhh hhhhhhhhhh hhhhhhhhhh hhhhhhhhhh hhhhh hhhhh hhhhhhh hhhhhhhhh hhhhh hhhhhhhhh hhhhhhhhh hhhhh hhhhhhhh hhhhhhhh hhhhhhhh hhhhhhhhh hhhhhhhh hhhhhhh hhhhhhh hhhhh hhhhhhhh hhhhhhhh hhhhhhh hhhhhhhhh hhhhhhh hhhhhhh hhhhhhh hhhhhhh hhhhhhh hhhhh hhh hhhh…

    • 408 Words
    • 2 Pages
    Satisfactory Essays
  • Satisfactory Essays

    To understand the concept of a variable holding a value, how a variable is declared and how it can…

    • 516 Words
    • 4 Pages
    Satisfactory Essays
  • Good Essays

    21) Write a program to find the smallest and largest element in a two dimensional array. 22) Write a program to illustrate call by value.…

    • 1735 Words
    • 7 Pages
    Good Essays
  • Good Essays

    Computer

    • 6438 Words
    • 26 Pages

    1. Read the temperature in degree Centigrade. 2. Convert the Centigrade to Fahrenheit using the formula F=9/5*c+32 3. Print the Celsius and Fahrenheit value. 4. Read the temperature in degree Fahrenheit. 5. Convert the Fahrenheit to Centigrade using the formula C=5/9*(F-32) 6. Print the Fahrenheit and Celsius value. 7. Stop…

    • 6438 Words
    • 26 Pages
    Good Essays