---
title: "Discussion on \"Java Interview question-20\" | Hashnode"
description: "Discussion on \"Java Interview question-20\". Question 191: program to find the middle number from the linked list?\nclass ListNode {\n    int val;\n    ListNode next;\n\n    ListNode(int val) {\n        this.val = val;\n        this.next = null;\n    }\n}\n\npublic class MiddleOfLinkedList {\n    public st..."
url: "https://hashnode.com/posts/java-interview-question-20/6534f3e6a45e3a93ffe02ec9"
---

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

Discussion

# [Java Interview question-20](https://tusharkant.hashnode.dev/java-interview-question-20?utm_source=hashnode&utm_medium=feed)

Question 191: program to find the middle number from the linked list? class ListNode { int val; ListNode next; ListNode(int val) { this.val = val; this.next = null; } } public class MiddleOfLinkedList { public st...

Oct 22, 2023 · 45 min read · tusharkant.hashnode.dev  
Read the article

-   [#java](https://hashnode.com/tag/java)
-   [#springboot](https://hashnode.com/tag/springboot)
-   [#microservices](https://hashnode.com/tag/microservices)

## Written by

[Tushar kant](https://hashnode.com/@tusharkant)

@tusharkant

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

Java || SpringBoot ||AWS

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
