Skip to content
This repository was archived by the owner on May 13, 2026. It is now read-only.

Q2 solution submit by Haris Jamal Khan#8

Open
harisjamalkhan111 wants to merge 1 commit into
Kodifly:mainfrom
harisjamalkhan111:patch-2
Open

Q2 solution submit by Haris Jamal Khan#8
harisjamalkhan111 wants to merge 1 commit into
Kodifly:mainfrom
harisjamalkhan111:patch-2

Conversation

@harisjamalkhan111
Copy link
Copy Markdown

I have used two pointers by giving the first pointer (fast) a head start before starting the second pointer (slow). Doing this will cause slow to reach the n'th node from the end at the same time that fast reaches the end.

 I have used two pointers by giving the first pointer (fast) a head start before starting the second pointer (slow). Doing this will cause slow to reach the n'th node from the end at the same time that fast reaches the end.
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant