Skip to content

Commit 35cade3

Browse files
committed
Changed Styles as per guidelines
1 parent da21e7d commit 35cade3

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

Data-Structures/Linked-List/RotateListRight.js

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,10 @@ function main () {
1414
1515
Link for the Problem: https://leetcode.com/problems/rotate-list/
1616
*/
17-
const head = '', k = '' // Reference to both head and k is given in the problem. So please ignore this line
18-
let i = 0;
17+
// Reference to both head and k is given in the problem. So please ignore below two lines
18+
let head = ''
19+
let k = ''
20+
let i = 0
1921
let current = head
2022
while (current) {
2123
i++

0 commit comments

Comments
 (0)