Question
Solution Preview

These solutions may offer step-by-step problem-solving explanations or good writing examples that include modern styles of formatting and construction of bibliographies out of text citations and references.
Students may use these solutions for personal skill-building and practice.
Unethical use is strictly forbidden.

    Program Assignment 6 Starter Code


*/

#include <iostream>
using namespace std;

#include <stdio.h>

struct Person
{
    string id;
    string name;
    int    balance;
};

struct Node
{
    Person* data;
    Node*   next;
};

//Inputs information for one person
//Returns NULL if an empty string is entered
//for id.
Person* getPerson( )
{

    string id, dummy;

    //Enter the first value
    cout << "Enter ID (Enter return to stop): ";
    getline(cin,id);

    if (id.length() == 0)
    {
       return NULL;
    }

    Person* p = new Person;

    p->id = id;

    //Enter the remaining two info
    cout << "Enter name: ";
    getline(cin,p->name); //accept white spaces as part of input data

    cout << "Enter balance: ";
    cin >> p->balance;

    getline(cin,dummy); //remove the newline char from the input stream

    return p;
}

/*

This function creates a linked list of nodes
from user input. It does not perform any input
checking such as duplicate id. This function
is for illustration only, to show an
example of creating a linked list of nodes

THIS IS FOR ILLUSTRATION ONLY. YOU DO NOT USE
THIS FUNCTION FROM ANY OF THE FOUR FUNCTIONS
YOU IMPLEMENT. You may use this function from
your test main.

*/

Node* createList( )
{

    Node*   L;
    Node*   tail;
    Person* p;

    L = NULL;

    //Get the first person
    p = getPerson();

    if (p == NULL) return L;

    L = new Node;
    L->data = p;
    L->next = NULL;

    tail = L; //tail points to the last node

    while (true)
    {

       p = getPerson();

       if (p == NULL) return L;

       tail->next = new Node;

       tail = tail->next;

       tail->data = p;
       tail->next = NULL;
    }
}

/*
Display the data of the Person struct

YOU DO NOT USE
THIS FUNCTION FROM ANY OF THE FOUR FUNCTIONS
YOU IMPLEMENT. You may use this function from
your test main.
*/
void display(Person* p)
{

    printf("%8s %-18s%4d\n", p->id.c_str(), p->name.c_str(), p->balance);

    //Note: printf does not accept a variable of C++ string type.
    //      You need to pass C array of char. The method c_str() converts
    //     C++ string to a C array of char

}

//FUNCTION 1: Add new member to the list L
//
bool add(Node*& L, Person* newmember)
{
    if (L == NULL)
    {
       L = new Node;
       L->data = newmember;
       L->next = NULL;
       return true;
    }
    Node* current = L;
    while (true)
    {
       if (current->data->id == newmember->id
This is only a preview of the solution.
Please use the purchase button to see the entire solution.
By purchasing this solution you'll be able to access the following files:
Solution.PNG
Solution1.PNG
Solution.cpp
Solution1.cpp
Purchase Solution
$80.00
Google Pay
Amazon
Paypal
Mastercard
Visacard
Discover
Amex
View Available Computer Science Tutors 529 tutors matched
Ionut
(ionut)
Hi! MSc Applied Informatics & Computer Science Engineer. Practical experience in many CS & IT branches.Research work & homework
5/5 (5,654+ sessions)
2 hours avg response
Leo
(Leo)
Hi! I have been a professor in New York and taught in a math department and in an applied math department.
4.9/5 (5,652+ sessions)
2 hours avg response
Pranay
(math1983)
Ph.D. in mathematics and working as an Assistant Professor in University. I can provide help in mathematics, statistics and allied areas.
4.6/5 (5,512+ sessions)
1 hour avg response

Similar Homework Solutions

8.1.0PHP Version504msRequest Duration45MBMemory UsageGET college-homework-library/{category}/{subject}/{id}Route
    • Booting (280ms)time
    • Application (223ms)time
    • 1 x Booting (55.63%)
      280ms
      1 x Application (44.37%)
      223ms
      • Illuminate\Routing\Events\Routing (1.38ms)
      • Illuminate\Routing\Events\RouteMatched (531μs)
      • Illuminate\Foundation\Events\LocaleUpdated (4.68ms)
      • eloquent.booting: App\Models\HomeworkLibrary\HomeworkLibrary (368μs)
      • eloquent.booted: App\Models\HomeworkLibrary\HomeworkLibrary (364μs)
      • Illuminate\Database\Events\ConnectionEstablished (1.21ms)
      • Illuminate\Database\Events\StatementPrepared (9.61ms)
      • Illuminate\Database\Events\QueryExecuted (1.66ms)
      • eloquent.retrieved: App\Models\HomeworkLibrary\HomeworkLibrary (97μs)
      • eloquent.booting: App\Models\Subject (107μs)
      • eloquent.booted: App\Models\Subject (42μs)
      • Illuminate\Database\Events\StatementPrepared (1.6ms)
      • Illuminate\Database\Events\QueryExecuted (1.38ms)
      • eloquent.retrieved: App\Models\Subject (114μs)
      • eloquent.booting: App\Models\HomeworkLibrary\HomeworkLibraryFile (121μs)
      • eloquent.booted: App\Models\HomeworkLibrary\HomeworkLibraryFile (42μs)
      • Illuminate\Database\Events\StatementPrepared (622μs)
      • Illuminate\Database\Events\QueryExecuted (1.11ms)
      • eloquent.retrieved: App\Models\HomeworkLibrary\HomeworkLibraryFile (90μs)
      • eloquent.retrieved: App\Models\HomeworkLibrary\HomeworkLibraryFile (15μs)
      • eloquent.retrieved: App\Models\HomeworkLibrary\HomeworkLibraryFile (8μs)
      • eloquent.retrieved: App\Models\HomeworkLibrary\HomeworkLibraryFile (6μs)
      • eloquent.retrieved: App\Models\HomeworkLibrary\HomeworkLibraryFile (6μs)
      • eloquent.retrieved: App\Models\HomeworkLibrary\HomeworkLibraryFile (5μs)
      • eloquent.retrieved: App\Models\HomeworkLibrary\HomeworkLibraryFile (5μs)
      • eloquent.retrieved: App\Models\HomeworkLibrary\HomeworkLibraryFile (5μs)
      • eloquent.retrieved: App\Models\HomeworkLibrary\HomeworkLibraryFile (5μs)
      • eloquent.retrieved: App\Models\HomeworkLibrary\HomeworkLibraryFile (5μs)
      • eloquent.retrieved: App\Models\HomeworkLibrary\HomeworkLibraryFile (5μs)
      • eloquent.retrieved: App\Models\HomeworkLibrary\HomeworkLibraryFile (5μs)
      • eloquent.retrieved: App\Models\HomeworkLibrary\HomeworkLibraryFile (4μs)
      • eloquent.retrieved: App\Models\HomeworkLibrary\HomeworkLibraryFile (5μs)
      • eloquent.retrieved: App\Models\HomeworkLibrary\HomeworkLibraryFile (6μs)
      • eloquent.retrieved: App\Models\HomeworkLibrary\HomeworkLibraryFile (5μs)
      • eloquent.retrieved: App\Models\HomeworkLibrary\HomeworkLibraryFile (5μs)
      • eloquent.retrieved: App\Models\HomeworkLibrary\HomeworkLibraryFile (5μs)
      • eloquent.retrieved: App\Models\HomeworkLibrary\HomeworkLibraryFile (5μs)
      • eloquent.retrieved: App\Models\HomeworkLibrary\HomeworkLibraryFile (5μs)
      • eloquent.retrieved: App\Models\HomeworkLibrary\HomeworkLibraryFile (5μs)
      • eloquent.retrieved: App\Models\HomeworkLibrary\HomeworkLibraryFile (5μs)
      • eloquent.retrieved: App\Models\HomeworkLibrary\HomeworkLibraryFile (5μs)
      • eloquent.retrieved: App\Models\HomeworkLibrary\HomeworkLibraryFile (6μs)
      • eloquent.retrieved: App\Models\HomeworkLibrary\HomeworkLibraryFile (5μs)
      • eloquent.retrieved: App\Models\HomeworkLibrary\HomeworkLibraryFile (6μs)
      • eloquent.retrieved: App\Models\HomeworkLibrary\HomeworkLibraryFile (5μs)
      • eloquent.booting: App\Models\SubjectCat (722μs)
      • eloquent.booted: App\Models\SubjectCat (43μs)
      • Illuminate\Database\Events\StatementPrepared (895μs)
      • Illuminate\Database\Events\QueryExecuted (1.03ms)
      • eloquent.retrieved: App\Models\SubjectCat (113μs)
      • Illuminate\Cache\Events\CacheHit (14.47ms)
      • Illuminate\Cache\Events\CacheMissed (321μs)
      • Illuminate\Database\Events\StatementPrepared (1.11ms)
      • Illuminate\Database\Events\QueryExecuted (21.46ms)
      • eloquent.retrieved: App\Models\HomeworkLibrary\HomeworkLibrary (93μs)
      • eloquent.retrieved: App\Models\HomeworkLibrary\HomeworkLibrary (15μs)
      • eloquent.retrieved: App\Models\HomeworkLibrary\HomeworkLibrary (9μs)
      • eloquent.retrieved: App\Models\HomeworkLibrary\HomeworkLibrary (7μs)
      • eloquent.retrieved: App\Models\HomeworkLibrary\HomeworkLibrary (7μs)
      • eloquent.retrieved: App\Models\HomeworkLibrary\HomeworkLibrary (6μs)
      • Illuminate\Database\Events\StatementPrepared (709μs)
      • Illuminate\Database\Events\QueryExecuted (1.35ms)
      • eloquent.retrieved: App\Models\Subject (112μs)
      • Illuminate\Cache\Events\KeyWritten (846μs)
      • Illuminate\Database\Events\StatementPrepared (1.82ms)
      • Illuminate\Database\Events\QueryExecuted (1.32ms)
      • eloquent.retrieved: App\Models\HomeworkLibrary\HomeworkLibraryFile (67μs)
      • eloquent.retrieved: App\Models\HomeworkLibrary\HomeworkLibraryFile (15μs)
      • eloquent.retrieved: App\Models\HomeworkLibrary\HomeworkLibraryFile (8μs)
      • eloquent.retrieved: App\Models\HomeworkLibrary\HomeworkLibraryFile (7μs)
      • eloquent.retrieved: App\Models\HomeworkLibrary\HomeworkLibraryFile (5μs)
      • eloquent.retrieved: App\Models\HomeworkLibrary\HomeworkLibraryFile (6μs)
      • eloquent.retrieved: App\Models\HomeworkLibrary\HomeworkLibraryFile (5μs)
      • eloquent.retrieved: App\Models\HomeworkLibrary\HomeworkLibraryFile (5μs)
      • eloquent.retrieved: App\Models\HomeworkLibrary\HomeworkLibraryFile (5μs)
      • Illuminate\Database\Events\StatementPrepared (1.54ms)
      • Illuminate\Database\Events\QueryExecuted (1.09ms)
      • Illuminate\Database\Events\StatementPrepared (838μs)
      • Illuminate\Database\Events\QueryExecuted (1.19ms)
      • eloquent.retrieved: App\Models\HomeworkLibrary\HomeworkLibraryFile (65μs)
      • eloquent.retrieved: App\Models\HomeworkLibrary\HomeworkLibraryFile (15μs)
      • eloquent.retrieved: App\Models\HomeworkLibrary\HomeworkLibraryFile (7μs)
      • eloquent.retrieved: App\Models\HomeworkLibrary\HomeworkLibraryFile (6μs)
      • Illuminate\Cache\Events\CacheHit (1ms)
      • creating: homework.show (300μs)
      • composing: homework.show (152μs)
      • creating: components.breadcrumbs (372μs)
      • composing: components.breadcrumbs (148μs)
      • Illuminate\Database\Events\StatementPrepared (1.5ms)
      • Illuminate\Database\Events\QueryExecuted (1.01ms)
      • eloquent.retrieved: App\Models\SubjectCat (89μs)
      • Illuminate\Cache\Events\CacheMissed (4.8ms)
      • Illuminate\Database\Events\StatementPrepared (848μs)
      • Illuminate\Database\Events\QueryExecuted (1.09ms)
      • eloquent.retrieved: App\Models\SubjectCat (109μs)
      • Illuminate\Cache\Events\KeyWritten (383μs)
      • Illuminate\Cache\Events\CacheHit (288μs)
      • Illuminate\Cache\Events\CacheHit (162μs)
      • Illuminate\Cache\Events\CacheHit (1.45ms)
      • Illuminate\Cache\Events\CacheHit (958μs)
      • Illuminate\Cache\Events\CacheHit (214μs)
      • Illuminate\Cache\Events\CacheHit (217μs)
      • Illuminate\Cache\Events\CacheHit (809μs)
      • Illuminate\Cache\Events\CacheHit (3.37ms)
      • Illuminate\Cache\Events\CacheHit (227μs)
      • Illuminate\Cache\Events\CacheHit (208μs)
      • Illuminate\Cache\Events\CacheHit (164μs)
      • Illuminate\Cache\Events\CacheHit (198μs)
      • Illuminate\Cache\Events\CacheHit (231μs)
      • Illuminate\Cache\Events\CacheMissed (358μs)
      • Illuminate\Database\Events\StatementPrepared (4.52ms)
      • Illuminate\Database\Events\QueryExecuted (2.47ms)
      • eloquent.retrieved: App\Models\SubjectCat (114μs)
      • Illuminate\Cache\Events\KeyWritten (482μs)
      • Illuminate\Cache\Events\CacheHit (3.77ms)
      • Illuminate\Cache\Events\CacheHit (380μs)
      • Illuminate\Cache\Events\CacheHit (227μs)
      • Illuminate\Cache\Events\CacheHit (217μs)
      • Illuminate\Cache\Events\CacheHit (199μs)
      • Illuminate\Cache\Events\CacheHit (215μs)
      • Illuminate\Cache\Events\CacheHit (183μs)
      • Illuminate\Cache\Events\CacheMissed (307μs)
      • Illuminate\Database\Events\StatementPrepared (5.84ms)
      • Illuminate\Database\Events\QueryExecuted (2.64ms)
      • eloquent.retrieved: App\Models\SubjectCat (123μs)
      • Illuminate\Cache\Events\KeyWritten (455μs)
      • Illuminate\Cache\Events\CacheHit (305μs)
      • Illuminate\Cache\Events\CacheHit (235μs)
      • Illuminate\Cache\Events\CacheHit (165μs)
      • Illuminate\Cache\Events\CacheHit (184μs)
      • Illuminate\Cache\Events\CacheHit (227μs)
      • Illuminate\Cache\Events\CacheHit (235μs)
      • Illuminate\Cache\Events\CacheHit (177μs)
      • Illuminate\Cache\Events\CacheHit (237μs)
      • Illuminate\Cache\Events\CacheHit (181μs)
      • Illuminate\Cache\Events\CacheHit (200μs)
      • Illuminate\Cache\Events\CacheHit (164μs)
      • Illuminate\Cache\Events\CacheHit (199μs)
      • Illuminate\Cache\Events\CacheHit (171μs)
      • Illuminate\Cache\Events\CacheHit (188μs)
      • Illuminate\Cache\Events\CacheHit (164μs)
      • Illuminate\Cache\Events\CacheHit (200μs)
      • Illuminate\Cache\Events\CacheHit (168μs)
      • Illuminate\Cache\Events\CacheHit (185μs)
      • Illuminate\Cache\Events\CacheHit (162μs)
      • Illuminate\Cache\Events\CacheHit (192μs)
      • Illuminate\Cache\Events\CacheHit (177μs)
      • Illuminate\Cache\Events\CacheHit (220μs)
      • Illuminate\Cache\Events\CacheHit (199μs)
      • Illuminate\Cache\Events\CacheHit (201μs)
      • Illuminate\Cache\Events\CacheHit (173μs)
      • Illuminate\Cache\Events\CacheHit (209μs)
      • Illuminate\Cache\Events\CacheHit (185μs)
      • Illuminate\Cache\Events\CacheHit (205μs)
      • Illuminate\Cache\Events\CacheHit (232μs)
      • Illuminate\Cache\Events\CacheHit (199μs)
      • Illuminate\Cache\Events\CacheHit (176μs)
      • Illuminate\Cache\Events\CacheMissed (300μs)
      • Illuminate\Database\Events\StatementPrepared (5.11ms)
      • Illuminate\Database\Events\QueryExecuted (1.27ms)
      • eloquent.retrieved: App\Models\SubjectCat (120μs)
      • Illuminate\Cache\Events\KeyWritten (480μs)
      • Illuminate\Cache\Events\CacheHit (311μs)
      • Illuminate\Cache\Events\CacheHit (243μs)
      • Illuminate\Cache\Events\CacheHit (166μs)
      • Illuminate\Cache\Events\CacheHit (194μs)
      • Illuminate\Cache\Events\CacheHit (203μs)
      • Illuminate\Cache\Events\CacheHit (205μs)
      • Illuminate\Cache\Events\CacheHit (168μs)
      • Illuminate\Cache\Events\CacheHit (230μs)
      • Illuminate\Cache\Events\CacheHit (382μs)
      • Illuminate\Cache\Events\CacheHit (202μs)
      • Illuminate\Cache\Events\CacheHit (172μs)
      • Illuminate\Cache\Events\CacheHit (193μs)
      • Illuminate\Cache\Events\CacheHit (173μs)
      • Illuminate\Cache\Events\CacheHit (193μs)
      • Illuminate\Cache\Events\CacheHit (184μs)
      • Illuminate\Cache\Events\CacheHit (210μs)
      • Illuminate\Cache\Events\CacheHit (185μs)
      • Illuminate\Cache\Events\CacheHit (206μs)
      • Illuminate\Cache\Events\CacheHit (180μs)
      • Illuminate\Cache\Events\CacheHit (245μs)
      • Illuminate\Cache\Events\CacheHit (184μs)
      • Illuminate\Cache\Events\CacheHit (200μs)
      • Illuminate\Cache\Events\CacheHit (176μs)
      • Illuminate\Cache\Events\CacheHit (197μs)
      • Illuminate\Cache\Events\CacheHit (184μs)
      • Illuminate\Cache\Events\CacheHit (202μs)
      • Illuminate\Cache\Events\CacheHit (189μs)
      • Illuminate\Cache\Events\CacheHit (211μs)
      • Illuminate\Cache\Events\CacheHit (206μs)
      • Illuminate\Cache\Events\CacheHit (211μs)
      • Illuminate\Cache\Events\CacheHit (190μs)
      • Illuminate\Cache\Events\CacheHit (210μs)
      • Illuminate\Cache\Events\CacheHit (183μs)
      • Illuminate\Cache\Events\CacheHit (203μs)
      • Illuminate\Cache\Events\CacheHit (183μs)
      • Illuminate\Cache\Events\CacheHit (203μs)
      • Illuminate\Cache\Events\CacheHit (183μs)
      • Illuminate\Cache\Events\CacheHit (208μs)
      • Illuminate\Cache\Events\CacheHit (186μs)
      • Illuminate\Cache\Events\CacheMissed (359μs)
      • Illuminate\Database\Events\StatementPrepared (840μs)
      • Illuminate\Database\Events\QueryExecuted (1.21ms)
      • eloquent.retrieved: App\Models\SubjectCat (105μs)
      • Illuminate\Cache\Events\KeyWritten (393μs)
      • Illuminate\Cache\Events\CacheHit (204μs)
      • Illuminate\Cache\Events\CacheHit (230μs)
      • Illuminate\Cache\Events\CacheHit (168μs)
      • Illuminate\Cache\Events\CacheHit (179μs)
      • Illuminate\Cache\Events\CacheHit (151μs)
      • Illuminate\Cache\Events\CacheHit (212μs)
      • Illuminate\Cache\Events\CacheHit (150μs)
      • Illuminate\Cache\Events\CacheMissed (324μs)
      • Illuminate\Database\Events\StatementPrepared (759μs)
      • Illuminate\Database\Events\QueryExecuted (1.18ms)
      • eloquent.retrieved: App\Models\SubjectCat (97μs)
      • Illuminate\Cache\Events\KeyWritten (377μs)
      • Illuminate\Cache\Events\CacheHit (1.36ms)
      • Illuminate\Cache\Events\CacheHit (245μs)
      • Illuminate\Cache\Events\CacheHit (133μs)
      • Illuminate\Cache\Events\CacheHit (167μs)
      • Illuminate\Cache\Events\CacheHit (146μs)
      • Illuminate\Cache\Events\CacheHit (295μs)
      • Illuminate\Cache\Events\CacheHit (137μs)
      • Illuminate\Cache\Events\CacheHit (145μs)
      • Illuminate\Cache\Events\CacheHit (116μs)
      • Illuminate\Cache\Events\CacheHit (136μs)
      • Illuminate\Cache\Events\CacheHit (415μs)
      • Illuminate\Cache\Events\CacheHit (659μs)
      • Illuminate\Cache\Events\CacheHit (118μs)
      • Illuminate\Cache\Events\CacheHit (131μs)
      • Illuminate\Cache\Events\CacheHit (105μs)
      • Illuminate\Cache\Events\CacheHit (123μs)
      • Illuminate\Cache\Events\CacheHit (103μs)
      • Illuminate\Cache\Events\CacheHit (115μs)
      • Illuminate\Cache\Events\CacheHit (105μs)
      • Illuminate\Cache\Events\CacheHit (119μs)
      • Illuminate\Cache\Events\CacheHit (101μs)
      • Illuminate\Cache\Events\CacheHit (120μs)
      • Illuminate\Cache\Events\CacheHit (105μs)
      • Illuminate\Cache\Events\CacheHit (154μs)
      • Illuminate\Cache\Events\CacheHit (111μs)
      • Illuminate\Cache\Events\CacheHit (122μs)
      • Illuminate\Cache\Events\CacheHit (104μs)
      • Illuminate\Cache\Events\CacheHit (149μs)
      • Illuminate\Cache\Events\CacheHit (350μs)
      • Illuminate\Cache\Events\CacheMissed (335μs)
      • Illuminate\Database\Events\StatementPrepared (776μs)
      • Illuminate\Database\Events\QueryExecuted (1ms)
      • eloquent.retrieved: App\Models\SubjectCat (77μs)
      • Illuminate\Cache\Events\KeyWritten (404μs)
      • Illuminate\Cache\Events\CacheHit (240μs)
      • Illuminate\Cache\Events\CacheHit (867μs)
      • Illuminate\Cache\Events\CacheHit (180μs)
      • Illuminate\Cache\Events\CacheHit (199μs)
      • Illuminate\Cache\Events\CacheHit (164μs)
      • Illuminate\Cache\Events\CacheHit (185μs)
      • Illuminate\Cache\Events\CacheHit (160μs)
      • Illuminate\Cache\Events\CacheHit (373μs)
      • Illuminate\Cache\Events\CacheHit (164μs)
      • Illuminate\Cache\Events\CacheHit (201μs)
      • Illuminate\Cache\Events\CacheHit (173μs)
      • Illuminate\Cache\Events\CacheHit (193μs)
      • Illuminate\Cache\Events\CacheHit (169μs)
      • Illuminate\Cache\Events\CacheHit (190μs)
      • Illuminate\Cache\Events\CacheHit (170μs)
      • Illuminate\Cache\Events\CacheHit (198μs)
      • Illuminate\Cache\Events\CacheHit (174μs)
      • Illuminate\Cache\Events\CacheHit (196μs)
      • Illuminate\Cache\Events\CacheHit (174μs)
      • Illuminate\Cache\Events\CacheHit (234μs)
      • Illuminate\Cache\Events\CacheHit (184μs)
      • Illuminate\Cache\Events\CacheHit (195μs)
      • Illuminate\Cache\Events\CacheHit (168μs)
      • Illuminate\Cache\Events\CacheHit (190μs)
      • Illuminate\Cache\Events\CacheHit (168μs)
      • Illuminate\Cache\Events\CacheHit (191μs)
      • Illuminate\Cache\Events\CacheHit (167μs)
      • Illuminate\Cache\Events\CacheHit (188μs)
      • Illuminate\Cache\Events\CacheHit (185μs)
      • Illuminate\Cache\Events\CacheHit (233μs)
      • Illuminate\Cache\Events\CacheHit (173μs)
      • Illuminate\Cache\Events\CacheHit (201μs)
      • Illuminate\Cache\Events\CacheHit (188μs)
      • Illuminate\Cache\Events\CacheHit (198μs)
      • Illuminate\Cache\Events\CacheHit (174μs)
      • Illuminate\Cache\Events\CacheHit (195μs)
      • Illuminate\Cache\Events\CacheHit (164μs)
      • Illuminate\Cache\Events\CacheHit (185μs)
      • Illuminate\Cache\Events\CacheHit (163μs)
      • Illuminate\Cache\Events\CacheHit (186μs)
      • Illuminate\Cache\Events\CacheHit (163μs)
      • Illuminate\Cache\Events\CacheHit (263μs)
      • Illuminate\Cache\Events\CacheHit (171μs)
      • Illuminate\Cache\Events\CacheHit (190μs)
      • Illuminate\Cache\Events\CacheHit (171μs)
      • Illuminate\Cache\Events\CacheHit (187μs)
      • Illuminate\Cache\Events\CacheHit (162μs)
      • Illuminate\Cache\Events\CacheHit (188μs)
      • Illuminate\Cache\Events\CacheHit (162μs)
      • Illuminate\Cache\Events\CacheHit (240μs)
      • Illuminate\Cache\Events\CacheHit (169μs)
      • Illuminate\Cache\Events\CacheHit (208μs)
      • Illuminate\Cache\Events\CacheHit (187μs)
      • Illuminate\Cache\Events\CacheHit (199μs)
      • Illuminate\Cache\Events\CacheHit (171μs)
      • Illuminate\Cache\Events\CacheHit (192μs)
      • Illuminate\Cache\Events\CacheHit (162μs)
      • Illuminate\Cache\Events\CacheHit (200μs)
      • Illuminate\Cache\Events\CacheHit (151μs)
      • Illuminate\Cache\Events\CacheHit (181μs)
      • Illuminate\Cache\Events\CacheHit (160μs)
      • Illuminate\Cache\Events\CacheHit (184μs)
      • Illuminate\Cache\Events\CacheHit (197μs)
      • Illuminate\Cache\Events\CacheMissed (311μs)
      • Illuminate\Database\Events\StatementPrepared (891μs)
      • Illuminate\Database\Events\QueryExecuted (1.93ms)
      • eloquent.retrieved: App\Models\SubjectCat (70μs)
      • Illuminate\Cache\Events\KeyWritten (859μs)
      • Illuminate\Cache\Events\CacheHit (388μs)
      • Illuminate\Cache\Events\CacheHit (272μs)
      • Illuminate\Cache\Events\CacheHit (320μs)
      • Illuminate\Cache\Events\CacheHit (269μs)
      • Illuminate\Cache\Events\CacheHit (210μs)
      • Illuminate\Cache\Events\CacheHit (333μs)
      • Illuminate\Cache\Events\CacheHit (165μs)
      • Illuminate\Cache\Events\CacheHit (207μs)
      • Illuminate\Cache\Events\CacheHit (161μs)
      • Illuminate\Cache\Events\CacheHit (186μs)
      • Illuminate\Cache\Events\CacheHit (163μs)
      • Illuminate\Cache\Events\CacheHit (186μs)
      • Illuminate\Cache\Events\CacheHit (163μs)
      • Illuminate\Cache\Events\CacheHit (188μs)
      • Illuminate\Cache\Events\CacheHit (163μs)
      • Illuminate\Cache\Events\CacheHit (207μs)
      • Illuminate\Cache\Events\CacheHit (165μs)
      • Illuminate\Cache\Events\CacheHit (1.08ms)
      • Illuminate\Cache\Events\CacheHit (160μs)
      • Illuminate\Cache\Events\CacheHit (172μs)
      • Illuminate\Cache\Events\CacheHit (162μs)
      • Illuminate\Cache\Events\CacheHit (188μs)
      • Illuminate\Cache\Events\CacheHit (185μs)
      • Illuminate\Cache\Events\CacheHit (337μs)
      • Illuminate\Cache\Events\CacheHit (169μs)
      • Illuminate\Cache\Events\CacheHit (187μs)
      • Illuminate\Cache\Events\CacheHit (168μs)
      • Illuminate\Cache\Events\CacheHit (335μs)
      • Illuminate\Cache\Events\CacheHit (179μs)
      • Illuminate\Cache\Events\CacheHit (191μs)
      • Illuminate\Cache\Events\CacheHit (211μs)
      • Illuminate\Cache\Events\CacheHit (195μs)
      • Illuminate\Cache\Events\CacheHit (164μs)
      • Illuminate\Cache\Events\CacheHit (262μs)
      • Illuminate\Cache\Events\CacheHit (172μs)
      • Illuminate\Cache\Events\CacheHit (240μs)
      • Illuminate\Cache\Events\CacheHit (198μs)
      • Illuminate\Cache\Events\CacheHit (214μs)
      • Illuminate\Cache\Events\CacheHit (168μs)
      • Illuminate\Cache\Events\CacheHit (213μs)
      • Illuminate\Cache\Events\CacheHit (165μs)
      • Illuminate\Cache\Events\CacheHit (208μs)
      • Illuminate\Cache\Events\CacheHit (267μs)
      • Illuminate\Cache\Events\CacheHit (193μs)
      • Illuminate\Cache\Events\CacheHit (193μs)
      • Illuminate\Cache\Events\CacheHit (193μs)
      • Illuminate\Cache\Events\CacheHit (168μs)
      • Illuminate\Cache\Events\CacheHit (203μs)
      • Illuminate\Cache\Events\CacheHit (158μs)
      • Illuminate\Cache\Events\CacheHit (189μs)
      • Illuminate\Cache\Events\CacheHit (170μs)
      • Illuminate\Cache\Events\CacheHit (186μs)
      • Illuminate\Cache\Events\CacheHit (164μs)
      • Illuminate\Cache\Events\CacheHit (232μs)
      • Illuminate\Cache\Events\CacheHit (169μs)
      • Illuminate\Cache\Events\CacheHit (211μs)
      • Illuminate\Cache\Events\CacheHit (173μs)
      • Illuminate\Cache\Events\CacheHit (195μs)
      • Illuminate\Cache\Events\CacheHit (166μs)
      • Illuminate\Cache\Events\CacheHit (188μs)
      • Illuminate\Cache\Events\CacheHit (164μs)
      • Illuminate\Cache\Events\CacheHit (185μs)
      • Illuminate\Cache\Events\CacheHit (180μs)
      • Illuminate\Cache\Events\CacheHit (256μs)
      • Illuminate\Cache\Events\CacheHit (173μs)
      • Illuminate\Cache\Events\CacheHit (189μs)
      • Illuminate\Cache\Events\CacheHit (164μs)
      • Illuminate\Cache\Events\CacheHit (186μs)
      • Illuminate\Cache\Events\CacheHit (163μs)
      • Illuminate\Cache\Events\CacheHit (230μs)
      • Illuminate\Cache\Events\CacheHit (192μs)
      • Illuminate\Cache\Events\CacheHit (202μs)
      • Illuminate\Cache\Events\CacheHit (164μs)
      • Illuminate\Cache\Events\CacheHit (186μs)
      • Illuminate\Cache\Events\CacheHit (215μs)
      • Illuminate\Cache\Events\CacheHit (200μs)
      • Illuminate\Cache\Events\CacheHit (166μs)
      • Illuminate\Cache\Events\CacheHit (198μs)
      • Illuminate\Cache\Events\CacheHit (168μs)
      • Illuminate\Cache\Events\CacheHit (196μs)
      • Illuminate\Cache\Events\CacheHit (159μs)
      • Illuminate\Cache\Events\CacheHit (183μs)
      • Illuminate\Cache\Events\CacheHit (171μs)
      • Illuminate\Cache\Events\CacheHit (215μs)
      • Illuminate\Cache\Events\CacheHit (179μs)
      • Illuminate\Cache\Events\CacheHit (203μs)
      • Illuminate\Cache\Events\CacheHit (172μs)
      • Illuminate\Cache\Events\CacheHit (194μs)
      • Illuminate\Cache\Events\CacheHit (165μs)
      • Illuminate\Cache\Events\CacheMissed (283μs)
      • Illuminate\Database\Events\StatementPrepared (868μs)
      • Illuminate\Database\Events\QueryExecuted (1.01ms)
      • eloquent.retrieved: App\Models\SubjectCat (64μs)
      • Illuminate\Cache\Events\KeyWritten (1.31ms)
      • Illuminate\Cache\Events\CacheHit (210μs)
      • Illuminate\Cache\Events\CacheHit (3.84ms)
      • Illuminate\Cache\Events\CacheHit (234μs)
      • Illuminate\Cache\Events\CacheHit (210μs)
      • Illuminate\Cache\Events\CacheHit (164μs)
      • Illuminate\Cache\Events\CacheHit (196μs)
      • Illuminate\Cache\Events\CacheHit (181μs)
      • Illuminate\Cache\Events\CacheHit (235μs)
      • Illuminate\Cache\Events\CacheHit (225μs)
      • Illuminate\Cache\Events\CacheHit (416μs)
      • Illuminate\Cache\Events\CacheHit (206μs)
      • Illuminate\Cache\Events\CacheHit (210μs)
      • Illuminate\Cache\Events\CacheHit (167μs)
      • Illuminate\Cache\Events\CacheHit (186μs)
      • Illuminate\Cache\Events\CacheHit (156μs)
      • Illuminate\Cache\Events\CacheHit (184μs)
      • Illuminate\Cache\Events\CacheHit (169μs)
      • creating: site.layouts.app (511μs)
      • composing: site.layouts.app (24μs)
      • creating: components.canonical (399μs)
      • composing: components.canonical (95μs)
      • creating: components.open-graph (166μs)
      • composing: components.open-graph (67μs)
      • creating: site.headers.header (3.52ms)
      • composing: site.headers.header (138μs)
      • Illuminate\Cache\Events\CacheHit (1.96ms)
      • creating: components.footer (85μs)
      • composing: components.footer (77μs)
      • Illuminate\Cache\Events\CacheHit (1ms)
      • Illuminate\Cache\Events\CacheMissed (511μs)
      • Illuminate\Database\Events\StatementPrepared (716μs)
      • Illuminate\Database\Events\QueryExecuted (1.17ms)
      • eloquent.retrieved: App\Models\SubjectCat (121μs)
      • Illuminate\Cache\Events\KeyWritten (439μs)
      • Illuminate\Cache\Events\CacheHit (296μs)
      • Illuminate\Cache\Events\CacheHit (200μs)
      • Illuminate\Cache\Events\CacheHit (188μs)
      • Illuminate\Cache\Events\CacheHit (211μs)
      • Illuminate\Cache\Events\CacheHit (243μs)
      • Illuminate\Cache\Events\CacheHit (447μs)
      • Illuminate\Cache\Events\CacheHit (357μs)
      • Illuminate\Cache\Events\CacheHit (226μs)
      • Illuminate\Cache\Events\CacheHit (235μs)
      • Illuminate\Cache\Events\CacheHit (254μs)
      • Illuminate\Cache\Events\CacheHit (259μs)
      • Illuminate\Cache\Events\CacheHit (269μs)
      • creating: components.forms.contact-us (260μs)
      • composing: components.forms.contact-us (162μs)
      • creating: components.forms.get-started (178μs)
      • composing: components.forms.get-started (83μs)
      • creating: components.forms.free-tool-download (113μs)
      • composing: components.forms.free-tool-download (74μs)
      • creating: components.forms.claim-free-worksheet (103μs)
      • composing: components.forms.claim-free-worksheet (69μs)
      • creating: components.forms.tutor-subscription-waitlist (102μs)
      • composing: components.forms.tutor-subscription-waitlist (71μs)
      • creating: components.forms.tutor-subscription-join (105μs)
      • composing: components.forms.tutor-subscription-join (66μs)
      • creating: components.forms.tutor-support (99μs)
      • composing: components.forms.tutor-support (65μs)
      • 311 x Illuminate\Cache\Events\CacheHit (18.89%)
        95.12ms
        20 x Illuminate\Database\Events\QueryExecuted (9.45%)
        47.57ms
        20 x Illuminate\Database\Events\StatementPrepared (8.22%)
        41.41ms
        11 x Illuminate\Cache\Events\CacheMissed (1.63%)
        8.21ms
        11 x Illuminate\Cache\Events\KeyWritten (1.28%)
        6.43ms
        1 x Illuminate\Foundation\Events\LocaleUpdated (0.93%)
        4.68ms
        1 x creating: site.headers.header (0.7%)
        3.52ms
        1 x Illuminate\Routing\Events\Routing (0.27%)
        1.38ms
        1 x Illuminate\Database\Events\ConnectionEstablished (0.24%)
        1.21ms
        12 x eloquent.retrieved: App\Models\SubjectCat (0.24%)
        1.20ms
        1 x eloquent.booting: App\Models\SubjectCat (0.14%)
        722μs
        1 x Illuminate\Routing\Events\RouteMatched (0.11%)
        531μs
        1 x creating: site.layouts.app (0.1%)
        511μs
        40 x eloquent.retrieved: App\Models\HomeworkLibrary\HomeworkLibraryFile (0.09%)
        453μs
        1 x creating: components.canonical (0.08%)
        399μs
        1 x creating: components.breadcrumbs (0.07%)
        372μs
        1 x eloquent.booting: App\Models\HomeworkLibrary\HomeworkLibrary (0.07%)
        368μs
        1 x eloquent.booted: App\Models\HomeworkLibrary\HomeworkLibrary (0.07%)
        364μs
        1 x creating: homework.show (0.06%)
        300μs
        1 x creating: components.forms.contact-us (0.05%)
        260μs
        7 x eloquent.retrieved: App\Models\HomeworkLibrary\HomeworkLibrary (0.05%)
        234μs
        2 x eloquent.retrieved: App\Models\Subject (0.04%)
        226μs
        1 x creating: components.forms.get-started (0.04%)
        178μs
        1 x creating: components.open-graph (0.03%)
        166μs
        1 x composing: components.forms.contact-us (0.03%)
        162μs
        1 x composing: homework.show (0.03%)
        152μs
        1 x composing: components.breadcrumbs (0.03%)
        148μs
        1 x composing: site.headers.header (0.03%)
        138μs
        1 x eloquent.booting: App\Models\HomeworkLibrary\HomeworkLibraryFile (0.02%)
        121μs
        1 x creating: components.forms.free-tool-download (0.02%)
        113μs
        1 x eloquent.booting: App\Models\Subject (0.02%)
        107μs
        1 x creating: components.forms.tutor-subscription-join (0.02%)
        105μs
        1 x creating: components.forms.claim-free-worksheet (0.02%)
        103μs
        1 x creating: components.forms.tutor-subscription-waitlist (0.02%)
        102μs
        1 x creating: components.forms.tutor-support (0.02%)
        99μs
        1 x composing: components.canonical (0.02%)
        95μs
        1 x creating: components.footer (0.02%)
        85μs
        1 x composing: components.forms.get-started (0.02%)
        83μs
        1 x composing: components.footer (0.02%)
        77μs
        1 x composing: components.forms.free-tool-download (0.01%)
        74μs
        1 x composing: components.forms.tutor-subscription-waitlist (0.01%)
        71μs
        1 x composing: components.forms.claim-free-worksheet (0.01%)
        69μs
        1 x composing: components.open-graph (0.01%)
        67μs
        1 x composing: components.forms.tutor-subscription-join (0.01%)
        66μs
        1 x composing: components.forms.tutor-support (0.01%)
        65μs
        1 x eloquent.booted: App\Models\SubjectCat (0.01%)
        43μs
        1 x eloquent.booted: App\Models\Subject (0.01%)
        42μs
        1 x eloquent.booted: App\Models\HomeworkLibrary\HomeworkLibraryFile (0.01%)
        42μs
        1 x composing: site.layouts.app (0%)
        24μs
      14 templates were rendered
      • 1x homework.showshow.blade.phpblade
      • 1x components.breadcrumbsbreadcrumbs.blade.phpblade
      • 1x site.layouts.appapp.blade.phpblade
      • 1x components.canonicalcanonical.blade.phpblade
      • 1x components.open-graphopen-graph.blade.phpblade
      • 1x site.headers.headerheader.blade.phpblade
      • 1x components.footerfooter.blade.phpblade
      • 1x components.forms.contact-uscontact-us.blade.phpblade
      • 1x components.forms.get-startedget-started.blade.phpblade
      • 1x components.forms.free-tool-downloadfree-tool-download.blade.phpblade
      • 1x components.forms.claim-free-worksheetclaim-free-worksheet.blade.phpblade
      • 1x components.forms.tutor-subscription-waitlisttutor-subscription-waitlist.blade.phpblade
      • 1x components.forms.tutor-subscription-jointutor-subscription-join.blade.phpblade
      • 1x components.forms.tutor-supporttutor-support.blade.phpblade
      uri
      GET college-homework-library/{category}/{subject}/{id}
      middleware
      web, utm.parameters
      controller
      App\Http\Controllers\HomeworkLibraryController@show
      namespace
      where
      as
      homework.show
      file
      app/Http/Controllers/HomeworkLibraryController.php:79-176
      20 statements were executed, 5 of which were duplicates, 15 unique. Show only duplicated70.01ms
      • Connection Establishedtwenty4_siteHomeworkLibraryController.php#91
        Backtrace
        • 13. app/Http/Controllers/HomeworkLibraryController.php:91
        • 14. vendor/laravel/framework/src/Illuminate/Routing/Controller.php:54
        • 15. vendor/laravel/framework/src/Illuminate/Routing/ControllerDispatcher.php:43
        • 16. vendor/laravel/framework/src/Illuminate/Routing/Route.php:260
        • 17. vendor/laravel/framework/src/Illuminate/Routing/Route.php:205
      • select * from `solutionslibrary` where `status` = 'published' and `price` > 0 and `solutionslibrary`.`id` = '51504' limit 1
        10.46mstwenty4_siteHomeworkLibraryController.php#97
        Bindings
        • 0: published
        • 1: 0
        • 2: 51504
        Backtrace
        • 16. app/Http/Controllers/HomeworkLibraryController.php:97
        • 17. vendor/laravel/framework/src/Illuminate/Routing/Controller.php:54
        • 18. vendor/laravel/framework/src/Illuminate/Routing/ControllerDispatcher.php:43
        • 19. vendor/laravel/framework/src/Illuminate/Routing/Route.php:260
        • 20. vendor/laravel/framework/src/Illuminate/Routing/Route.php:205
      • select * from `subjects` where `subjects`.`id` in (16)
        1.4mstwenty4_siteHomeworkLibraryController.php#97
        Backtrace
        • 21. app/Http/Controllers/HomeworkLibraryController.php:97
        • 22. vendor/laravel/framework/src/Illuminate/Routing/Controller.php:54
        • 23. vendor/laravel/framework/src/Illuminate/Routing/ControllerDispatcher.php:43
        • 24. vendor/laravel/framework/src/Illuminate/Routing/Route.php:260
        • 25. vendor/laravel/framework/src/Illuminate/Routing/Route.php:205
      • select * from `solutionslibrary_files` where `solutionslibrary_files`.`solutionlib_id` in (51504)
        1.17mstwenty4_siteHomeworkLibraryController.php#97
        Backtrace
        • 21. app/Http/Controllers/HomeworkLibraryController.php:97
        • 22. vendor/laravel/framework/src/Illuminate/Routing/Controller.php:54
        • 23. vendor/laravel/framework/src/Illuminate/Routing/ControllerDispatcher.php:43
        • 24. vendor/laravel/framework/src/Illuminate/Routing/Route.php:260
        • 25. vendor/laravel/framework/src/Illuminate/Routing/Route.php:205
      • select * from `subject_cats` where `subject_cats`.`id` = 3 limit 1
        1.28mstwenty4_siteHomeworkLibrary.php#201
        Bindings
        • 0: 3
        Backtrace
        • 20. app/Models/HomeworkLibrary/HomeworkLibrary.php:201
        • 26. app/Http/Controllers/HomeworkLibraryController.php:105
        • 27. vendor/laravel/framework/src/Illuminate/Routing/Controller.php:54
        • 28. vendor/laravel/framework/src/Illuminate/Routing/ControllerDispatcher.php:43
        • 29. vendor/laravel/framework/src/Illuminate/Routing/Route.php:260
      • select * from `solutionslibrary` where `id` <> 51504 and `subject` = 16 and `status` = 'published' and `price` > 0 order by RAND() limit 6
        21.73mstwenty4_siteHomeworkLibraryRepository.php#30
        Bindings
        • 0: 51504
        • 1: 16
        • 2: published
        • 3: 0
        Backtrace
        • 14. app/Repositories/HomeworkLibraryRepository.php:30
        • 15. vendor/laravel/framework/src/Illuminate/Cache/Repository.php:397
        • 16. vendor/laravel/framework/src/Illuminate/Cache/CacheManager.php:419
        • 18. app/Repositories/HomeworkLibraryRepository.php:39
        • 19. app/Http/Controllers/HomeworkLibraryController.php:139
      • select * from `subjects` where `subjects`.`id` in (16)
        1.5mstwenty4_siteHomeworkLibraryRepository.php#30
        Backtrace
        • 19. app/Repositories/HomeworkLibraryRepository.php:30
        • 20. vendor/laravel/framework/src/Illuminate/Cache/Repository.php:397
        • 21. vendor/laravel/framework/src/Illuminate/Cache/CacheManager.php:419
        • 23. app/Repositories/HomeworkLibraryRepository.php:39
        • 24. app/Http/Controllers/HomeworkLibraryController.php:139
      • select * from `solutionslibrary_files` where `solutionslibrary_files`.`solutionlib_id` = 51504 and `solutionslibrary_files`.`solutionlib_id` is not null and `publish` = 'question' order by `order` asc, `id` asc
        1.46mstwenty4_siteHomeworkLibrary.php#260
        Bindings
        • 0: 51504
        • 1: question
        Backtrace
        • 15. app/Models/HomeworkLibrary/HomeworkLibrary.php:260
        • 16. app/Transformers/HomeworkLibrary/HomeworkLibraryTransformer.php:58
        • 19. vendor/league/fractal/src/TransformerAbstract.php:128
        • 20. vendor/league/fractal/src/TransformerAbstract.php:107
        • 21. vendor/league/fractal/src/Scope.php:383
      • select * from `solutionslibrary_files` where `solutionslibrary_files`.`solutionlib_id` = 51504 and `solutionslibrary_files`.`solutionlib_id` is not null and `publish` = 'teaser' order by `order` asc, `id` asc
        1.28mstwenty4_siteHomeworkLibrary.php#260
        Bindings
        • 0: 51504
        • 1: teaser
        Backtrace
        • 15. app/Models/HomeworkLibrary/HomeworkLibrary.php:260
        • 16. app/Transformers/HomeworkLibrary/HomeworkLibraryTransformer.php:69
        • 19. vendor/league/fractal/src/TransformerAbstract.php:128
        • 20. vendor/league/fractal/src/TransformerAbstract.php:107
        • 21. vendor/league/fractal/src/Scope.php:383
      • select * from `solutionslibrary_files` where `solutionslibrary_files`.`solutionlib_id` = 51504 and `solutionslibrary_files`.`solutionlib_id` is not null and `publish` = 'solution' order by `order` asc, `id` asc
        1.25mstwenty4_siteHomeworkLibrary.php#260
        Bindings
        • 0: 51504
        • 1: solution
        Backtrace
        • 15. app/Models/HomeworkLibrary/HomeworkLibrary.php:260
        • 16. app/Transformers/HomeworkLibrary/HomeworkLibraryTransformer.php:80
        • 19. vendor/league/fractal/src/TransformerAbstract.php:128
        • 20. vendor/league/fractal/src/TransformerAbstract.php:107
        • 21. vendor/league/fractal/src/Scope.php:383
      • select * from `subject_cats` where `subject_cats`.`id` = 3 limit 1
        1.23mstwenty4_siteHomeworkLibrary.php#201
        Bindings
        • 0: 3
        Backtrace
        • 20. app/Models/HomeworkLibrary/HomeworkLibrary.php:201
        • 32. vendor/laravel/framework/src/Illuminate/Filesystem/Filesystem.php:110
        • 33. vendor/laravel/framework/src/Illuminate/View/Engines/PhpEngine.php:58
        • 34. vendor/livewire/livewire/src/ComponentConcerns/RendersLivewireComponents.php:69
        • 35. vendor/laravel/framework/src/Illuminate/View/Engines/CompilerEngine.php:70
      • select * from `subject_cats` where `subject_cats`.`id` = 1 limit 1
        1.26mstwenty4_siteSubject.php#100
        Bindings
        • 0: 1
        Backtrace
        • 18. app/Models/Subject.php:100
        • 19. vendor/laravel/framework/src/Illuminate/Cache/Repository.php:397
        • 20. vendor/laravel/framework/src/Illuminate/Cache/CacheManager.php:419
        • 22. app/Models/Subject.php:101
        • 34. vendor/laravel/framework/src/Illuminate/Filesystem/Filesystem.php:110
      • select * from `subject_cats` where `subject_cats`.`id` = 3 limit 1
        5mstwenty4_siteSubject.php#100
        Bindings
        • 0: 3
        Backtrace
        • 18. app/Models/Subject.php:100
        • 19. vendor/laravel/framework/src/Illuminate/Cache/Repository.php:397
        • 20. vendor/laravel/framework/src/Illuminate/Cache/CacheManager.php:419
        • 22. app/Models/Subject.php:101
        • 34. vendor/laravel/framework/src/Illuminate/Filesystem/Filesystem.php:110
      • select * from `subject_cats` where `subject_cats`.`id` = 4 limit 1
        7.61mstwenty4_siteSubject.php#100
        Bindings
        • 0: 4
        Backtrace
        • 18. app/Models/Subject.php:100
        • 19. vendor/laravel/framework/src/Illuminate/Cache/Repository.php:397
        • 20. vendor/laravel/framework/src/Illuminate/Cache/CacheManager.php:419
        • 22. app/Models/Subject.php:101
        • 34. vendor/laravel/framework/src/Illuminate/Filesystem/Filesystem.php:110
      • select * from `subject_cats` where `subject_cats`.`id` = 10 limit 1
        5.59mstwenty4_siteSubject.php#100
        Bindings
        • 0: 10
        Backtrace
        • 18. app/Models/Subject.php:100
        • 19. vendor/laravel/framework/src/Illuminate/Cache/Repository.php:397
        • 20. vendor/laravel/framework/src/Illuminate/Cache/CacheManager.php:419
        • 22. app/Models/Subject.php:101
        • 34. vendor/laravel/framework/src/Illuminate/Filesystem/Filesystem.php:110
      • select * from `subject_cats` where `subject_cats`.`id` = 33 limit 1
        1.18mstwenty4_siteSubject.php#100
        Bindings
        • 0: 33
        Backtrace
        • 18. app/Models/Subject.php:100
        • 19. vendor/laravel/framework/src/Illuminate/Cache/Repository.php:397
        • 20. vendor/laravel/framework/src/Illuminate/Cache/CacheManager.php:419
        • 22. app/Models/Subject.php:101
        • 34. vendor/laravel/framework/src/Illuminate/Filesystem/Filesystem.php:110
      • select * from `subject_cats` where `subject_cats`.`id` = 11 limit 1
        1.06mstwenty4_siteSubject.php#100
        Bindings
        • 0: 11
        Backtrace
        • 18. app/Models/Subject.php:100
        • 19. vendor/laravel/framework/src/Illuminate/Cache/Repository.php:397
        • 20. vendor/laravel/framework/src/Illuminate/Cache/CacheManager.php:419
        • 22. app/Models/Subject.php:101
        • 34. vendor/laravel/framework/src/Illuminate/Filesystem/Filesystem.php:110
      • select * from `subject_cats` where `subject_cats`.`id` = 5 limit 1
        1.18mstwenty4_siteSubject.php#100
        Bindings
        • 0: 5
        Backtrace
        • 18. app/Models/Subject.php:100
        • 19. vendor/laravel/framework/src/Illuminate/Cache/Repository.php:397
        • 20. vendor/laravel/framework/src/Illuminate/Cache/CacheManager.php:419
        • 22. app/Models/Subject.php:101
        • 34. vendor/laravel/framework/src/Illuminate/Filesystem/Filesystem.php:110
      • select * from `subject_cats` where `subject_cats`.`id` = 34 limit 1
        1.95mstwenty4_siteSubject.php#100
        Bindings
        • 0: 34
        Backtrace
        • 18. app/Models/Subject.php:100
        • 19. vendor/laravel/framework/src/Illuminate/Cache/Repository.php:397
        • 20. vendor/laravel/framework/src/Illuminate/Cache/CacheManager.php:419
        • 22. app/Models/Subject.php:101
        • 34. vendor/laravel/framework/src/Illuminate/Filesystem/Filesystem.php:110
      • select * from `subject_cats` where `subject_cats`.`id` = 31 limit 1
        1.22mstwenty4_siteSubject.php#100
        Bindings
        • 0: 31
        Backtrace
        • 18. app/Models/Subject.php:100
        • 19. vendor/laravel/framework/src/Illuminate/Cache/Repository.php:397
        • 20. vendor/laravel/framework/src/Illuminate/Cache/CacheManager.php:419
        • 22. app/Models/Subject.php:101
        • 34. vendor/laravel/framework/src/Illuminate/Filesystem/Filesystem.php:110
      • select * from `subject_cats` where `subject_cats`.`id` = 36 limit 1
        1.2mstwenty4_siteSubject.php#100
        Bindings
        • 0: 36
        Backtrace
        • 18. app/Models/Subject.php:100
        • 19. vendor/laravel/framework/src/Illuminate/Cache/Repository.php:397
        • 20. vendor/laravel/framework/src/Illuminate/Cache/CacheManager.php:419
        • 22. app/Models/Subject.php:101
        • 28. view::components.footer:170
      App\Models\HomeworkLibrary\HomeworkLibraryFile
      40HomeworkLibraryFile.php
      App\Models\SubjectCat
      12SubjectCat.php
      App\Models\HomeworkLibrary\HomeworkLibrary
      7HomeworkLibrary.php
      App\Models\Subject
      2Subject.php
          _token
          6VtbmjOj7qfgcnFmL94Qohmej34JAIGtMxikz1D4
          utm_source
          direct
          redirectUrl
          /college-homework-library/Computer-Science/C-Family-Programming/51504
          _previous
          array:1 [ "url" => "https://staging.dev.24houranswers.com/college-homework-library/Computer-Scienc...
          _flash
          array:2 [ "old" => [] "new" => [] ]
          PHPDEBUGBAR_STACK_DATA
          []
          path_info
          /college-homework-library/Computer-Science/C-Family-Programming/51504
          status_code
          200
          
          status_text
          OK
          format
          html
          content_type
          text/html; charset=UTF-8
          request_query
          []
          
          request_request
          []
          
          request_headers
          0 of 0
          array:21 [ "priority" => array:1 [ 0 => "u=0, i" ] "accept-encoding" => array:1 [ 0 => "gzip, deflate, br, zstd" ] "sec-fetch-dest" => array:1 [ 0 => "document" ] "sec-fetch-user" => array:1 [ 0 => "?1" ] "sec-fetch-mode" => array:1 [ 0 => "navigate" ] "sec-fetch-site" => array:1 [ 0 => "none" ] "accept" => array:1 [ 0 => "text/html,application/xhtml+xml,application/xml;q=0.9,image/avif,image/webp,image/apng,*/*;q=0.8,application/signed-exchange;v=b3;q=0.7" ] "user-agent" => array:1 [ 0 => "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)" ] "upgrade-insecure-requests" => array:1 [ 0 => "1" ] "sec-ch-ua-platform" => array:1 [ 0 => ""Windows"" ] "sec-ch-ua-mobile" => array:1 [ 0 => "?0" ] "sec-ch-ua" => array:1 [ 0 => ""HeadlessChrome";v="129", "Not=A?Brand";v="8", "Chromium";v="129"" ] "cache-control" => array:1 [ 0 => "no-cache" ] "pragma" => array:1 [ 0 => "no-cache" ] "x-amzn-trace-id" => array:1 [ 0 => "Root=1-680dd2ac-2d4928fd16d311bf6981b2a8" ] "host" => array:1 [ 0 => "staging.dev.24houranswers.com" ] "x-forwarded-port" => array:1 [ 0 => "443" ] "x-forwarded-proto" => array:1 [ 0 => "https" ] "x-forwarded-for" => array:1 [ 0 => "18.222.60.247" ] "content-length" => array:1 [ 0 => "" ] "content-type" => array:1 [ 0 => "" ] ]
          request_cookies
          []
          
          response_headers
          0 of 0
          array:5 [ "content-type" => array:1 [ 0 => "text/html; charset=UTF-8" ] "cache-control" => array:1 [ 0 => "no-cache, private" ] "date" => array:1 [ 0 => "Sun, 27 Apr 2025 06:46:05 GMT" ] "set-cookie" => array:2 [ 0 => "XSRF-TOKEN=eyJpdiI6Im1UYklDdHJMTVJGZ2pjN1d6WEtVWmc9PSIsInZhbHVlIjoiWk5YNjBrZ2tFMTNaelYvSnMwWnVNZTBRNnBwVXRwNGJjbzBCenVBV3Mremh1VlpKaHpEWDNZVVY4RThiUnlidFp1Tmd3a0hJZmowK29PN2VRblRjMzlDdWY2Y2dTM3NQOUZ2WnBCN3BFdS9jQlJPNS90TXo0dVNudDBvRVBkaDQiLCJtYWMiOiJkZDcwZjEzMWI5NGU2ZWRmZTMwODUzZTBiNzliZWVkNTFiNTJmNmFjZTg0M2EyOGEwZmZjYWZjZDI4YTU5Yjg4IiwidGFnIjoiIn0%3D; expires=Sun, 27 Apr 2025 08:46:05 GMT; Max-Age=7200; path=/; domain=.24houranswers.com; samesite=laxXSRF-TOKEN=eyJpdiI6Im1UYklDdHJMTVJGZ2pjN1d6WEtVWmc9PSIsInZhbHVlIjoiWk5YNjBrZ2tFMTNaelYvSnMwWnVNZTBRNnBwVXRwNGJjbzBCenVBV3Mremh1VlpKaHpEWDNZVVY4RThiUnlidFp1Tmd3a" 1 => "24houranswers_session=eyJpdiI6IklGbWsyUTFxcHFscURXTFZmWEpOZFE9PSIsInZhbHVlIjoiQmZkekhnMXV0dTBZYXUzOVI1K1VmTzAvakpOTVdoUkpiNXV5WHpEbW1MckFZYk9xa0taWGpybytFNGs4azd5RUd0MGtQdjFDT2UrZkJRaHkvT21ocXFyTzJzK0JZUWhLajV5TDk3bk1jSmFSaVdQbEJKR1hkQnNRTXJSSHZjbnMiLCJtYWMiOiIzYTU2YTI1Y2JjYTMzYWVmYTYxMmFhNDRjMjZkNWIxZWI5OTYyY2JjNjY5YTBmNzdiOTM0OTkwYTYyMjA0ZTY4IiwidGFnIjoiIn0%3D; expires=Sun, 27 Apr 2025 08:46:05 GMT; Max-Age=7200; path=/; domain=.24houranswers.com; httponly; samesite=lax24houranswers_session=eyJpdiI6IklGbWsyUTFxcHFscURXTFZmWEpOZFE9PSIsInZhbHVlIjoiQmZkekhnMXV0dTBZYXUzOVI1K1VmTzAvakpOTVdoUkpiNXV5WHpEbW1MckFZYk9xa0taWGpybytFNGs4az" ] "Set-Cookie" => array:2 [ 0 => "XSRF-TOKEN=eyJpdiI6Im1UYklDdHJMTVJGZ2pjN1d6WEtVWmc9PSIsInZhbHVlIjoiWk5YNjBrZ2tFMTNaelYvSnMwWnVNZTBRNnBwVXRwNGJjbzBCenVBV3Mremh1VlpKaHpEWDNZVVY4RThiUnlidFp1Tmd3a0hJZmowK29PN2VRblRjMzlDdWY2Y2dTM3NQOUZ2WnBCN3BFdS9jQlJPNS90TXo0dVNudDBvRVBkaDQiLCJtYWMiOiJkZDcwZjEzMWI5NGU2ZWRmZTMwODUzZTBiNzliZWVkNTFiNTJmNmFjZTg0M2EyOGEwZmZjYWZjZDI4YTU5Yjg4IiwidGFnIjoiIn0%3D; expires=Sun, 27-Apr-2025 08:46:05 GMT; domain=.24houranswers.com; path=/XSRF-TOKEN=eyJpdiI6Im1UYklDdHJMTVJGZ2pjN1d6WEtVWmc9PSIsInZhbHVlIjoiWk5YNjBrZ2tFMTNaelYvSnMwWnVNZTBRNnBwVXRwNGJjbzBCenVBV3Mremh1VlpKaHpEWDNZVVY4RThiUnlidFp1Tmd3a" 1 => "24houranswers_session=eyJpdiI6IklGbWsyUTFxcHFscURXTFZmWEpOZFE9PSIsInZhbHVlIjoiQmZkekhnMXV0dTBZYXUzOVI1K1VmTzAvakpOTVdoUkpiNXV5WHpEbW1MckFZYk9xa0taWGpybytFNGs4azd5RUd0MGtQdjFDT2UrZkJRaHkvT21ocXFyTzJzK0JZUWhLajV5TDk3bk1jSmFSaVdQbEJKR1hkQnNRTXJSSHZjbnMiLCJtYWMiOiIzYTU2YTI1Y2JjYTMzYWVmYTYxMmFhNDRjMjZkNWIxZWI5OTYyY2JjNjY5YTBmNzdiOTM0OTkwYTYyMjA0ZTY4IiwidGFnIjoiIn0%3D; expires=Sun, 27-Apr-2025 08:46:05 GMT; domain=.24houranswers.com; path=/; httponly24houranswers_session=eyJpdiI6IklGbWsyUTFxcHFscURXTFZmWEpOZFE9PSIsInZhbHVlIjoiQmZkekhnMXV0dTBZYXUzOVI1K1VmTzAvakpOTVdoUkpiNXV5WHpEbW1MckFZYk9xa0taWGpybytFNGs4az" ] ]
          session_attributes
          0 of 0
          array:6 [ "_token" => "6VtbmjOj7qfgcnFmL94Qohmej34JAIGtMxikz1D4" "utm_source" => "direct" "redirectUrl" => "/college-homework-library/Computer-Science/C-Family-Programming/51504" "_previous" => array:1 [ "url" => "https://staging.dev.24houranswers.com/college-homework-library/Computer-Science/C-Family-Programming/51504" ] "_flash" => array:2 [ "old" => [] "new" => [] ] "PHPDEBUGBAR_STACK_DATA" => [] ]