{"id":23061784,"url":"https://github.com/hammadhttps/collections_java","last_synced_at":"2025-04-03T07:19:48.736Z","repository":{"id":256628667,"uuid":"855970825","full_name":"hammadhttps/Collections_java","owner":"hammadhttps","description":"collection in java","archived":false,"fork":false,"pushed_at":"2024-09-11T19:06:25.000Z","size":4,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-02-08T21:11:17.405Z","etag":null,"topics":["arraylist","collections-java","hashmap-java","java","linked-list","queue","stack"],"latest_commit_sha":null,"homepage":"","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/hammadhttps.png","metadata":{"files":{"readme":"Readme","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-09-11T18:59:18.000Z","updated_at":"2024-12-04T20:13:43.000Z","dependencies_parsed_at":"2024-09-12T05:24:20.737Z","dependency_job_id":"7a6f0705-dd9d-45d3-b9f0-9c3a93f92903","html_url":"https://github.com/hammadhttps/Collections_java","commit_stats":null,"previous_names":["hammadulhassan5812/collections_java","hammadhttps/collections_java"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hammadhttps%2FCollections_java","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hammadhttps%2FCollections_java/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hammadhttps%2FCollections_java/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hammadhttps%2FCollections_java/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/hammadhttps","download_url":"https://codeload.github.com/hammadhttps/Collections_java/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246952278,"owners_count":20859813,"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":["arraylist","collections-java","hashmap-java","java","linked-list","queue","stack"],"created_at":"2024-12-16T03:18:30.223Z","updated_at":"2025-04-03T07:19:48.714Z","avatar_url":"https://github.com/hammadhttps.png","language":"Java","readme":"Collections in JAVA\n\n3. . ArrayList Operations:\nWrite Java code to perform the following operations on an ArrayList:\n- Add an element to the ArrayList.\n- Remove an element from a specific index.\n- Check if an element exists in the ArrayList.\n- Retrieve the size of the ArrayList.\n- Iterate through the ArrayList and print its elements.\n\n4. HashMap Basics:\nCreate a HashMap in Java and perform the following operations:\n- Add key-value pairs to the HashMap.\n- Retrieve the value associated with a specific key.\n- Check if a key exists in the HashMap.\n- Iterate through the HashMap and print its key-value pairs.\n5. LinkedList Operations:\nImplement a singly linked list in Java and write code for the following operations:\n- Add a node to the beginning of the list.\n- Add a node to the end of the list.\n- Delete a node with a specific value.\n- Search for a node with a specific value.\n6. Stack Implementation:\nImplement a basic stack using an ArrayList in Java. Write code to perform the\nfollowing stack operations:\n- Push an element onto the stack.\n- Pop an element from the stack.\n- Check if the stack is empty.\n- Peek at the top element of the stack without removing it.\n7. Queue Implementation:\nImplement a queue using a LinkedList in Java. Write code to perform the following\nqueue operations:\n- Enqueue (add) an element to the queue.\n- Dequeue (remove) an element from the queue.\n- Check if the queue is empty.\n- Retrieve the size of the queue.\n8. Sorting ArrayList:\nWrite Java code to sort an ArrayList of integers in ascending order using the\n`Collections.sort()` method.\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhammadhttps%2Fcollections_java","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fhammadhttps%2Fcollections_java","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhammadhttps%2Fcollections_java/lists"}