ORACLE OA , 18th August BIT MESRA Good Subsequence | Modify String --- Rest API - Maximum Transfer | Asteroids .... Questions Repeated
Oracle · Question · Posted Aug 2023
Follow for more Good subsequence = https://www.interviewbit.com/problems/count-good-subsequences/ Maximum transfer import requests def maximumTransfer(name, city): # Initialize variables to store the maximum credit and debit amounts max_credit = 0.0 am max_debit = 0.0 # Initialize the page number to 1 and the base API URL page = 1 base_url = 'https://jsonmock.hackerrank.com/api/transactions' while True: # Make the API request with the current page number response = requests.get(f'{base_url}?page={page}') data = response.json() # Iterate through the transaction records in the data for ...
The full answer & interview discussion are available to premium members.
Log in Create a free account