{"id":21286085,"url":"https://github.com/vineetagarwal-code/100xdev-assignments","last_synced_at":"2025-03-15T15:15:41.550Z","repository":{"id":244508812,"uuid":"815443868","full_name":"VineeTagarwaL-code/100xdev-assignments","owner":"VineeTagarwaL-code","description":null,"archived":false,"fork":false,"pushed_at":"2024-06-15T08:06:44.000Z","size":3,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-01-22T05:19:00.997Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Java","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/VineeTagarwaL-code.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2024-06-15T07:15:23.000Z","updated_at":"2024-07-01T18:41:23.000Z","dependencies_parsed_at":"2024-06-15T08:52:17.095Z","dependency_job_id":null,"html_url":"https://github.com/VineeTagarwaL-code/100xdev-assignments","commit_stats":null,"previous_names":["vineetagarwal-code/100xdev-assignments"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/VineeTagarwaL-code%2F100xdev-assignments","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/VineeTagarwaL-code%2F100xdev-assignments/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/VineeTagarwaL-code%2F100xdev-assignments/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/VineeTagarwaL-code%2F100xdev-assignments/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/VineeTagarwaL-code","download_url":"https://codeload.github.com/VineeTagarwaL-code/100xdev-assignments/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243746239,"owners_count":20341204,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-11-21T11:27:32.365Z","updated_at":"2025-03-15T15:15:41.529Z","avatar_url":"https://github.com/VineeTagarwaL-code.png","language":"Java","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Hashing - DSA Questions\n\n## Question 1: Find the First Non-Repeating Character in a String\n\n### Problem Statement:\nGiven a string `s`, find the first non-repeating character in it and return its index. If it does not exist, return `-1`.\n\n### Instructions:\n1. The function should be named `firstNonRepeatingCharacter`.\n2. The function should take a single parameter:\n   - `s` (a string, 1 ≤ length(s) ≤ 10^5)\n3. Return an integer representing the index of the first non-repeating character.\n\n### Example:\n```\n# Example 1:\ns = \"leetcode\"\n\n\n# Example 2:\ns = \"loveleetcode\"\n# Expected output: 2 (The first non-repeating character is 'v' at index 2)\n\n\n# Example 3:\ns = \"aabb\"\n# Expected output: -1 (There are no non-repeating characters)\n```\n## Question 2: Check if Two Strings are Anagrams\n\n### Problem Statement:\nGiven two strings `s` and `t`, write a function to determine if `t` is an anagram of `s`.\n\n### Instructions:\n1. The function should be named `Anagram`.\n2. The function takes double parameter:\n   - `s` (a string, 1 ≤ length(s) ≤ 10^5)\n   - `t` (a string, 1 ≤ length(t) ≤ 10^5)\n3. Return `True` if t is an anagram of s, and `False` otherwise.\n\n### Example:\n```\n\n# Example 1:\ns = \"anagram\"\nt = \"nagaram\"\n# Expected output: True (Both strings are anagrams)\n\n\n# Example 2:\ns = \"rat\"\nt = \"car\"\n\n\n```\n\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvineetagarwal-code%2F100xdev-assignments","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fvineetagarwal-code%2F100xdev-assignments","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvineetagarwal-code%2F100xdev-assignments/lists"}