Search Result

Collapse
5 results in 0.0033 seconds.
Keywords
Members
Tags
linked list
  •  

  • Edster
    started a topic inverted index, postings lists, and linked lists

    inverted index, postings lists, and linked lists

    I was reading about the use of inverted indexes and I was trying to build a simple example to better understand how they work (I am most familar with PHP/MySQL). However, I am still unclear what the table structure would look like.

    As far as I understand, there is a table called "dictionary " that has a column with each term being indexed (e.g., cat, dog, rat) and another with a reference to a posting list for each term. Fuurther...
    See more | Go to post

  • KENNY LIU
    started a topic C++ how to reverse singly linked list
    in C

    C++ how to reverse singly linked list

    My class

    Code:
    
    #ifndef NODE_H
    #define NODE_H
    
    #include <cstdlib> // Provides size_t and NULL
    
    class Node
    {
    public:
    
    // TYPEDEF
    typedef int value_type;
    
    // CONSTRUCTOR
    Node(const value_type& init_data = value_type(), Node* init_link = NULL)
    {
    data_field = init_data; 
    link_field = init_link;
    ...
    See more | Go to post

  • rajmitra
    started a topic How do I access data lists created by yyparse ??
    in C

    How do I access data lists created by yyparse ??

    Hello all,
    In my foo.y description I call yyparse() in main.
    ----------------------------------------
    int main(int argc, char **argv)
    {

    ...
    yyparse();
    ...

    /*Do something with a link list created by yyparse(); */
    /* Then free the list*/

    }
    --------------------------------------------

    As the comments in main show -
    How do I manipulate...
    See more | Go to post

  • praveenaj
    started a topic Adding student marks to a Linked List
    in C

    Adding student marks to a Linked List

    I was given to write a C program using Linked list to enter student marks, but i can't figure out how this node insertion works:
    how nodes are linked with each other???


    A Computer Training Institute wants to store marks of the Theory and Practical Papers of Data Structures & Algorithm. This system keeps the Registration Number and the Name other than the two marks, and all the records should be inserted in increasing...
    See more | Go to post

  • yfredmann
    started a topic Sinlge linked List -> Delete Using One Pointer
    in C

    Sinlge linked List -> Delete Using One Pointer

    Hi dear friends,

    This problem might be so popular to some of you, but I couldn't be able to do it myself.

    The problem: How to delete a node from a single linked list using only one pointer?

    Where the target node to be deleted has a key field, and based on a match, let us say at first a sequential search, this node has to be deleted.

    What other ways that a singly linked list can be searched...
    See more | Go to post
Working...