Skip to content

Instantly share code, notes, and snippets.

@igorp1
Created July 23, 2025 12:25
Show Gist options
  • Select an option

  • Save igorp1/7019ef3630717c0bad1f5c6a5f20c9d1 to your computer and use it in GitHub Desktop.

Select an option

Save igorp1/7019ef3630717c0bad1f5c6a5f20c9d1 to your computer and use it in GitHub Desktop.
Bharath coding interview
results = [
{
'data': {
'destination': 'LGW',
'origin': 'JFK',
'arrival_time': '17:50',
'departure_time': '18:00',
'price': '432GBP',
},
'source': 'duffel_air'
},
{
'data': {
'flights': 'JFK/LGW',
'arrival_time': '17:50',
'departure_time': '18:00',
'price_fractional': '12300',
'currency_code': 'GBP',
},
'source': 'virgin'
},
{
'data': {
'flights': 'JFK/LGW',
'arrival_time': '19:30',
'departure_time': '15:00',
'price_fractional': '10900',
'currency_code': 'GBP',
},
'source': 'virgin'
},
{
'data': {
'destination_code': 'lgw',
'origin_code': 'jfk',
'arrival_datetime': '2020-07-23 12:07:53 +0000',
'departure_time': '2020-07-23 09:01:20 +0000',
'price': {
'code': 'USD',
'value': '325.50'
},
},
'source': 'aa'
},
{
'data': {
'destination_code': 'lgw',
'origin_code': 'jfk',
'duration': '542',
'take_off_at': '2020-07-23 09:01:20 +0000',
'price': {
'code': 'GBP',
'value': '425.50'
},
},
'source': 'ba'
}
]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment