---
title: "Discussion on \"LeetCode 25: Reverse Nodes In K Group — Step-by-Step Visual Trace\" | Hashnode"
description: "Discussion on \"LeetCode 25: Reverse Nodes In K Group — Step-by-Step Visual Trace\". Given the head of a linked list, reverse the nodes of the list k at a time, returning the modified list. If the number of remaining nodes is not a multiple of k, leave the remaining nodes as they are."
url: "https://hashnode.com/posts/reverse-nodes-in-k-group-visualization/69d7d286b3157a36ebc026e8"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [LeetCode 25: Reverse Nodes In K Group — Step-by-Step Visual Trace](https://blog.tracelit.dev/reverse-nodes-in-k-group-visualization?utm_source=hashnode&utm_medium=feed)

Given the head of a linked list, reverse the nodes of the list k at a time, returning the modified list. If the number of remaining nodes is not a multiple of k, leave the remaining nodes as they are.

Apr 9 · 1 min read · blog.tracelit.dev  
Read the article

-   [#algorithms](https://hashnode.com/tag/algorithms)
-   [#leetcode](https://hashnode.com/tag/leetcode)
-   [#linked-list](https://hashnode.com/tag/linked-list)

## Written by

[tracelit](https://hashnode.com/@tracelit)

@tracelit

  
[View profile](https://hashnode.com/@tracelit)

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
