Table of contents Circular linked list Linked list nth node from the end Reverse linked list Reverse linked list recursively Circular linked list This is a typical interview question. Given a singly linked list. Write a function that detects if the linked list is circular (has a loop) which means the last node points to
Introduction The concept of virtual memory in operating systems refers to extending the physical memory (RAM) to the hard drive so that running processes behave as if there is unlimited address space. Paging means dividing the running process into equally sized logical pieces called pages so that only requested pages at the current execution time
This is a summary of my notes on operating systems file allocation methods. In the context of operating systems file allocation refers to managing files on disk such that disk space is effectively utilized and files are accessed quickly. Contiguous Allocation All blocks of the file are consecutive on disk Deleting files leaves gaps Compacting
Problem A developer has written a stack designed to hold a maximum of five variables and he has asked you to test it. How would you test that stack? Solution Here are the general guidelines to test the stack. Note that they can be applied to testing software components in general: A. If white box