
Leet Code : Reverse Nodes in k-Group Java, Python ,C++ JavaScript Solution
Given the head of a linked list, reverse the nodes of the list k at a time, and return the modified list. k is a positive integer and is less…
// author
’m Nilesh, a Software Development Engineer with 2+ years of experience, specializing in Go, JavaScript, Python, Docker, Kubernetes, Git, Jenkins, microservices, and system design (LLD/HLD), backed by a strong foundation in data structures and algorithms. Alongside my engineering journey, I bring 4+ years of hands-on experience in SEO, where I’ve worked extensively on content strategy, keyword research, technical SEO, and organic growth, helping products and businesses scale efficiently by aligning solid technology with search-driven performance.
219 articles

Given the head of a linked list, reverse the nodes of the list k at a time, and return the modified list. k is a positive integer and is less…

Write a function to find the longest common prefix string amongst an array of strings. If there is no common prefix, return an empty…
The string "PAYPALISHIRING" is written in a zigzag pattern on a given number of rows like this: (you may want to display this pattern in a…