---
title: "Discussion on \"Print characters and their frequencies in the order of occurrence\" | Hashnode"
description: "Discussion on \"Print characters and their frequencies in the order of occurrence\". Given string str containing only lowercase characters. The problem is to print the characters along with their frequency in the order of their occurrence.\nimport java.util.LinkedHashMap;\nimport java.util.Map;\nimport java.util.Scanner;\n\npublic class P..."
url: "https://hashnode.com/posts/print-characters-and-their-frequencies-in-the-order-of-occurrence/63de7eddf15e7574e26823ea"
---

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

Discussion

# [Print characters and their frequencies in the order of occurrence](https://nikhilkumarreddy28.hashnode.dev/print-characters-and-their-frequencies-in-the-order-of-occurrence?utm_source=hashnode&utm_medium=feed)

Given string str containing only lowercase characters. The problem is to print the characters along with their frequency in the order of their occurrence. import java.util.LinkedHashMap; import java.util.Map; import java.util.Scanner; public class P...

Feb 4, 2023 · 1 min read · nikhilkumarreddy28.hashnode.dev  
Read the article

## Written by

[NIKHIL KUMAR REDDY](https://hashnode.com/@nikhilkumarreddy28)

@nikhilkumarreddy28

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

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
