Skip to content

Commit

Permalink
fix naming
Browse files Browse the repository at this point in the history
  • Loading branch information
Hoanh An committed Dec 25, 2019
1 parent 8886075 commit 0fa5390
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions gtci/cyclic_start_test.go → gtci/cyclic_sort_test.go
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
/*
Problem:
- Given an array containing ‘n’ objects where each object, when created,
was assigned a unique number from 1 to ‘n’ based on their creation sequence.
This means that the object with sequence number ‘3’ was created just before
the object with sequence number ‘4’.
- Given an array containing n objects where each object, when created,
was assigned a unique number from 1 to n based on their creation sequence.
This means that the object with sequence number 3 was created just before
the object with sequence number 4.
- Write a function to sort the objects in-place on their creation sequence
number in O(n) and without any extra space.
Expand Down

0 comments on commit 0fa5390

Please sign in to comment.