{"id":16104833,"url":"https://github.com/dbc2201/gla-bcsc-0805-lab-1","last_synced_at":"2025-10-05T16:44:44.278Z","repository":{"id":217529954,"uuid":"744131864","full_name":"dbc2201/gla-bcsc-0805-lab-1","owner":"dbc2201","description":null,"archived":false,"fork":false,"pushed_at":"2024-01-17T19:51:58.000Z","size":23,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-04-06T02:32:13.684Z","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/dbc2201.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-01-16T17:25:03.000Z","updated_at":"2025-01-16T06:30:15.000Z","dependencies_parsed_at":null,"dependency_job_id":"92557601-03eb-4297-9a6c-b0259ab951c7","html_url":"https://github.com/dbc2201/gla-bcsc-0805-lab-1","commit_stats":{"total_commits":20,"total_committers":1,"mean_commits":20.0,"dds":0.0,"last_synced_commit":"a2813cfc186fbdfb6a5b92c389c4f6da112929f1"},"previous_names":["dbc2201/gla-bcsc-0805-lab-1"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/dbc2201/gla-bcsc-0805-lab-1","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dbc2201%2Fgla-bcsc-0805-lab-1","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dbc2201%2Fgla-bcsc-0805-lab-1/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dbc2201%2Fgla-bcsc-0805-lab-1/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dbc2201%2Fgla-bcsc-0805-lab-1/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/dbc2201","download_url":"https://codeload.github.com/dbc2201/gla-bcsc-0805-lab-1/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dbc2201%2Fgla-bcsc-0805-lab-1/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":278486270,"owners_count":25994941,"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","status":"online","status_checked_at":"2025-10-05T02:00:06.059Z","response_time":54,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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-10-09T19:06:39.048Z","updated_at":"2025-10-05T16:44:44.234Z","avatar_url":"https://github.com/dbc2201.png","language":"Java","funding_links":[],"categories":[],"sub_categories":[],"readme":"# GLA University, Mathura - 2024\n\n---\n\n## BCSC 0805: Data Structures \u0026 Algorithms Lab\n\n---\n\n### Lab 1 - Sorting an array of Strings by length\n\n---\n\n**Program Outcomes (POs)** \n\n- **Engineering Knowledge**: Apply the knowledge of mathematics, science, engineering fundamentals, and an engineering\nspecialization to the solution of complex engineering problems.\n- **Problem Analysis**: Identify, formulate, research literature, and analyze complex engineering problems reaching \nsubstantiated conclusions using first principles of mathematics, natural sciences, and engineering sciences.\n- **Modern Tool Usage**: Create, select, and apply appropriate techniques, resources, and modern engineering and IT \ntools including prediction and modelling to complex engineering activities with an understanding of the limitations.\n\n**Program Specific Outcomes (PSOs)**\n\n- Solve real world problems using competency in computational logic, analytical ability, system design principles, and \nprogramming skills.\n\n---\n\nProblem Statement\n---\n\nTarun is an aspiring software engineer, currently studying in second year of engineering.\nHe is a very hardworking and sincere student focusing on learning programming and building software\ndevelopment skills.\nHe has lots of ideas for creating new software and writes code names for his ideas in his notebook.  \n```\nEx -  \nNTA  - Note Taking Application\nAMRS - Attendance Modificaition Request System\nHBAIA - Hotel Booking And Invoicing Application  \n\n```  \nHe has created an array of String to store all the names of his software ideas (in code names)\nand wants to sort the names in order of their length.  \n\nComplete the method `sortApplicationNamesByLength()` given [here](src/main/java/problem/helper/ApplicationSorter.java) \nto help him sort the names in the array.\n\nYou can run the `main()` method given [here](src/main/java/problem/Main.java)\nto see an example of the names.\n\n**Note**\n\n- Test cases are included with the code [here](src/test/java/problem/helper/ApplicationSorterTest.java).\n\n---\n\n**Sample Input**\n\nAn array of Strings\n\n```\n[GGG, TNL, JBNEB, FXWTO, VPXCTFKKDP, VTU, ICNHYGS, LCWR, SQBKIXMN, LBINCPNCI]\n```\n\n---\n\n**Sample Output**\n\nAn array of String sorted by the length of each string\n\n```\n[GGG, TNL, VTU, LCWR, JBNEB, FXWTO, ICNHYGS, SQBKIXMN, LBINCPNCI, VPXCTFKKDP]\n```\n\n---\n\n**Hints**\n\n- [Arrays.sort() method](https://docs.oracle.com/en/java/javase/21/docs/api/java.base/java/util/Arrays.html#sort(java.lang.Object[]))\n- [Stream.sorted() method](https://docs.oracle.com/en/java/javase/21/docs/api/java.base/java/util/stream/Stream.html#sorted())","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdbc2201%2Fgla-bcsc-0805-lab-1","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdbc2201%2Fgla-bcsc-0805-lab-1","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdbc2201%2Fgla-bcsc-0805-lab-1/lists"}