---
title: "Discussion on \"Write code for search engines.\" | Hashnode"
description: "Discussion on \"Write code for search engines.\". \"\"\"\nimport java.util.ArrayList; import java.util.HashMap; import java.util.List; import java.util.Map;\npublic class SearchEngine { private Map<String, List> index;\npublic SearchEngine() { index = new HashMap<>(); }\n// Add a document to the search eng..."
url: "https://hashnode.com/posts/write-code-for-search-engines/64467864844acb7837606a86"
---

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

Discussion

# [Write code for search engines.](https://mackph.hashnode.dev/write-code-for-search-engines?utm_source=hashnode&utm_medium=feed)

""" import java.util.ArrayList; import java.util.HashMap; import java.util.List; import java.util.Map; public class SearchEngine { private Map<String, List> index; public SearchEngine() { index = new HashMap<>(); } // Add a document to the search eng...

Apr 24, 2023 · 1 min read · mackph.hashnode.dev  
Read the article

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

## Written by

[ANKUSH KUMAR](https://hashnode.com/@akankushjnvku)

@akankushjnvku · India

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

I am an intermediate back-end developer, graphic and Adobe designer working for the past few years.

({MERN Stack Developer at mackph}) | &lt;Ex-Internshala Student Partner(ISP 16)&gt; | &lt;5 star coder at Hackerrank&gt; | &lt;Self employed at Mackph&gt; | &lt;GSSoC '22 Contributor&gt; | &lt;Ex-Campus Ambassador at International MUN&gt;

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
