Page 1 of 1

ESG Issuer Graph Programming challenge description: ESG Issuer Data is of the form Issuer | Parent | ESG Rating A54365 |

Posted: Tue Sep 07, 2021 7:25 am
by answerhappygod
Esg Issuer Graph Programming Challenge Description Esg Issuer Data Is Of The Form Issuer Parent Esg Rating A54365 1
Esg Issuer Graph Programming Challenge Description Esg Issuer Data Is Of The Form Issuer Parent Esg Rating A54365 1 (239.48 KiB) Viewed 81 times
PYTHON PLEASE THANKS
Esg Issuer Graph Programming Challenge Description Esg Issuer Data Is Of The Form Issuer Parent Esg Rating A54365 2
Esg Issuer Graph Programming Challenge Description Esg Issuer Data Is Of The Form Issuer Parent Esg Rating A54365 2 (146.02 KiB) Viewed 81 times
Esg Issuer Graph Programming Challenge Description Esg Issuer Data Is Of The Form Issuer Parent Esg Rating A54365 3
Esg Issuer Graph Programming Challenge Description Esg Issuer Data Is Of The Form Issuer Parent Esg Rating A54365 3 (116.37 KiB) Viewed 81 times
Esg Issuer Graph Programming Challenge Description Esg Issuer Data Is Of The Form Issuer Parent Esg Rating A54365 4
Esg Issuer Graph Programming Challenge Description Esg Issuer Data Is Of The Form Issuer Parent Esg Rating A54365 4 (111.66 KiB) Viewed 81 times
ESG Issuer Graph Programming challenge description: ESG Issuer Data is of the form Issuer | Parent | ESG Rating A54365 | B34454 | AA B34454 | C34563 | A D45747 | B34454 | B E36547 | D45747 | AAA G34657 | D45747 | CCC H84464 | C34563 | BB 176474 | H84464 | AA C34563 | 1 BBB F34654 1 | BB 174576 | K46565 | C K46565 | ICC L54334 | 176474 1 AA H84464 TL54334 | BB Assumptions that can be made: 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 > PB > BB > B > CCC > CC > C Your assignment: • Come up with a Data Structure to hold this type of data. • Write an alaorithm to check if the
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 Parent ESGRating, separated by Output: • If relations from the input table are cyclic in nature cyclic or noncyclic • issuer with max rating, return None if invalid/not applicable max rating, return None if invalid/not applicable
Test 1 Test Input A54365|B34454 |AA B34454 C34563/A D45747 |B34454B E36547 D45747 |AAA G34657 D45747 CCC H84464 C34563 | BB 176474|H84464 AA C34563||BBB F34654||BB J74576|K465651C K46565||CC L54334|176474 |AA H84464 L54334 BB Expected Output cyclic A54365 AA
Test 2 Test Input A54365 |B34454 CCC B34454C34563A D45747B34454B E36547 D45747 |AAA G34657 D45747CCC H84464C34563 | BB 176474H84464 AA C345631 | BBB F346541 | BB J74576 |K46565C K46565 TCC L54334|176474|AA H84464 | BB Expected Output noncyclic C34563 BBB