Exercises
Multiple Choice
Articles
Open Problems
Login
3 items
Tagged:
linked list
x
Start over
- to expand, or dig in by adding more tags and revising the query.
Sort By:
trending ▼
date
0
Undergraduate
By
Shiva Kintali
on May 19, 2013 | Updated Dec. 6, 2017
Reverse a linked list
Design a \(\Theta(n)\)-time nonrecursive algorithm that reverses a singly linked list of \(n\) elements. The algorithm should use no more than constant space beyond that needed for the list itself.
Computer Science
Algorithms
Data Structures
linear time algorithms
linked list
0
Undergraduate
By
Shiva Kintali
on June 13, 2012 | Updated Dec. 6, 2017
Corrupted linked-list
You are given a pointer to the head of singly linked list. Usually, each node in the list only has a pointer to the next element, and the last node’s pointer is NULL. Unfortunately, your list might ha…
Computer Science
Puzzles
Algorithms
Puzzles
linked list
0
Undergraduate
By
Nitesh Waghela
on Aug. 16, 2012 | Updated Dec. 6, 2017
Clone a linked list having a special structure
A Linked List is given with each node having two pointers. First pointer is pointing to the next node (just like in a single linked list). The second pointer points to any random node in the list. Wri…
Computer Science
Puzzles
Algorithms
Puzzles
linked list
icon
Sign In or Sign Up
icon
Invite Friends
Post Something
x
Select What You'd Like To Post
POST AN ARTICLE
POST AN OPEN PROBLEM
POST AN EXERCISE
POST A MULTIPLE-CHOICE QUESTION
Content Types
Articles
Open Problems
Exercises
Multiple-Choice Questions
Levels
High school
Undergraduate
Graduate
Subjects
Mathematics
Computer Science
Puzzles
Optimization
Trending tags
counting
imo
imo 2016
polygon
amortized analysis
bipartite graph
matching
formal languages
basics
pigeonhole principle
Topics
Algebra
Algorithms
Approximation Algorithms
Calculus
Combinatorial Optimization
Combinatorics
Complexity Theory
Data Structures
Discrete Mathematics
Game Theory
Geometry
Graph Theory
Linear Algebra
Linear Programming
Logic
Mathematical Analysis
Mathematics
Matrix Theory
Number Theory
Optimization
Probability
Programming
Puzzles
Randomized Algorithms
Real Analysis
Trigonometry
×