Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
P
p2
Manage
Activity
Members
Labels
Plan
Issues
0
Issue boards
Milestones
Wiki
Code
Merge requests
0
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
cse332-20sp
p2
Commits
35c35dd2
Commit
35c35dd2
authored
6 years ago
by
Kat Wang
Browse files
Options
Downloads
Patches
Plain Diff
Update MoveToFrontList.java
parent
175efc2b
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
src/datastructures/dictionaries/MoveToFrontList.java
+1
-1
1 addition, 1 deletion
src/datastructures/dictionaries/MoveToFrontList.java
with
1 addition
and
1 deletion
src/datastructures/dictionaries/MoveToFrontList.java
+
1
−
1
View file @
35c35dd2
...
...
@@ -9,7 +9,7 @@ import cse332.interfaces.misc.DeletelessDictionary;
/**
* TODO: Replace this comment with your own as appropriate.
* 1. The list is typically not sorted.
* 2. Add new items to the front of
t
he list.
* 2. Add new items to the front of
t
he list.
* 3. Whenever find is called on an item, move it to the front of the
* list. This means you remove the node from its current position
* and make it the first node in the list.
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment