Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

in java pls Programming challenge description: ESG Issuer Data is of the form Issuer Parent | ESG Rating A54365 | 334454 AA B34454 034563 |

in java pls
image text in transcribed
image text in transcribed
image text in transcribed
image text in transcribed
Programming challenge description: ESG Issuer Data is of the form Issuer Parent | ESG Rating A54365 | 334454 AA B34454 034563 | A D45747 | 834454 B E36547 | 045747 | AAA 634657 | 045747 | CCC H84464 034563 | BB 176474 | HS4464 | AA 034563 1 BBB F34654 | BB 574576 K46565C K46565 1 cc 1.54334 | 176474 AA H84464 | L54334 | BB 1. If asked to find a min or max rating, given an issuer, consider all the issuers in the path from the given issuer to the ultimate parent 2. Rating order AAA > AA > A > BBB > BB > B > CCC > CC >C Your assignment: Come up with a Data Structure to hold this type of data. Write an algorithm to check if the relations above are cyclic in nature. (Convert the Data Structure to a directed one assuming the direction is from the Issuer to its parent) Find the issuer with max rating Input: The issuer table, with respective columns: Issuer parentegrating separated by Output: If relations from the input table are cyclic in nature cyclic or poncyclic Issuer with max rating, return None if invalidot applicable max rating, return None if invalidot applicable Test 1 Test Input A54365 |B34454 ICCC B34454C34563A D45747B344541B E365471045747/AAA G34657|0457471 CCC H84464034563BB 176474484464AA C345631 (BBB F346541 | BB J74576|K4656SIC K465651 ICC L54334|176474 AA 8844641 | BB Expected Output noncyclic C34563 BBB Test Input AS4365B34454AA B344541C34563|A D457471B34454/B E36547|D45747AAA G346571D45747CCC H844641C34563 | BB 176474484464 AA C345631 BBB F34654||BB 374576(K465651C K465651 ICC L54334|176474|AA H84464 LS4334BB Expected Output cyclic A54365 AA

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Intelligent Information And Database Systems 6th Asian Conference Aciids 2014 Bangkok Thailand April 7 9 2014 Proceedings Part I 9 2014 Proceedings Part 1 Lnai 8397

Authors: Ngoc-Thanh Nguyen ,Boonwat Attachoo ,Bogdan Trawinski ,Kulwadee Somboonviwat

2014th Edition

3319054759, 978-3319054759

Students also viewed these Databases questions