#!process anyone get loan offer c1 tech q

1 messages ยท Page 1 of 1 (latest)

remote wind
#

what does loan offer mean

peak cave
fathom sun
peak cave
#

like say input of dates is 01102012 03042013 โ€ฆ i might be a dumbass but if it was all same year it would be easy to calculate it
across multiple years was a bit more tricky and i didnt have much time
cus first u gotta find the oldest account and then compare to the current account
thats how i woulda done it but im sure theres an easier way
she also wouldnt tell me if age was in days months or yrs

rain orchid
#

me

rain orchid
fathom sun
peak cave
#

like doable but def did not have enough time so im assuming there was supposed to be an easier way

fathom sun
#

cashback and fraud r much easier

peak cave
#

yeah cashback and fraud i literally had memorized lmao

#

its wtv i think my case and behav went good so lets see

fathom sun
fathom sun
peak cave
#

nah i was too focused on getting the oldest age

#

shoulda clarified earlier tho

fathom sun
#

yea they purposefully leave out information so that you have to ask for it

peak cave
#

technically the data set does go over multiple years tho

#

and each dataset was for one single customer

#

so would prolly have to do some weird math if ur tryna get total months from like jan 2012 to april 2015

fathom sun
peak cave
#

i was using MMYYYY for the key in my dict

#

since there was no ID

fathom sun
peak cave
#

yeah most likely

#

do yk if they look at which q they gave u when reviewing

#

or is it just an overall performance thing

#

cus ts was buns

fathom sun
peak cave
#

gothca

#

well lets see

fathom sun
#

dw u got other processes too, so ur chilling

rain orchid
#

you got this

#

wagmi

fathom sun
#

thats only if there is a key for every MMYYY, there could be some months where there were no transtions

fathom sun
peak cave
#

which isnt hard but like others said a heap would be one way to do it

fathom sun
#

Python compares tuples element-wise. For (YYYY, MM), it first compares the year (YYYY). If years are equal, it compares the month (MM). This aligns with chronological ordering: (2022, 12) < (2023, 5) < (2023, 8) < (2024, 1).

peak cave
#

i only had around 10 mins left when i got to that par

#

part

fathom sun
#

๐Ÿ˜ญ yea 10 mins is crazy

peak cave
#

forgot u could just do min max lmao

#

honestly that was probably one of the most important parts of the code im prolly cooked for not getting it

peak cave
#

No we dont want average monthly balance, just total age of that account, so that we can use that in the calculation for the credit score. We do however need things like total balance and current balance as well but those are fairly straightforward to get

#

best way to do it now that i think of it is store all dates in a different hashmap, find min of those dates using min(dates) or something like that, then take the current date and subtract it from the oldest date to get age of accounts

#

yes we dont really merge the data

#

yeah i think in python u could do something like for _, date in dates.items(): minDate = min(curDate, date)

#

and age is likely in months although i did not ask since i didnt get to that

fathom sun
peak cave
#

thing that confused me the most was that the date range can span over a year

#

so iwas like how do u get age from 01202005 to 04022007 for example

#

the math for it isnt too bad

#

just couldnt come up with it

#

someone here said it earlier

#

(newest[0] - oldest[0]) * 12 + (newest[1] - oldest[1])

#

i only had like 10 mins left so i didnt have the time to do it

#

much harder than fraud or the other variants imo

#

nah since we were running out of time she just asked to explain the rest of my implementatoin for part 3 without code

#

and we just finished there

#

so p bad tech for me

#

behavioral was really easy, case went well too

#

if i had finished my tech id be confident

#

yeah

#

finished vcns in like 40 mins

#

yeah unlucky

fathom sun
peak cave
#

there was lots of info for fraud and cashback but 0 info for loan offers

#

wasnt even expecting that question

#

my friend took it with me today as well, he got cashback but he said his case was cooked

fathom sun
#

someone ik who did it yesterday got VCN for case, loans for technical

peak cave
#

how did they do on loans

fathom sun
#

solid

peak cave
#

damn im cooked lol

#

did he say the same thing for age of accounts like similar solution

fathom sun
#

didnt ask him about loans, asked him more about vcn

peak cave
#

i think it was current remaining balance vs initial balance actually

#

something like that

fathom sun
#

ok so ig they r giving one ez case and hard tech or one ez tech and hard case

peak cave
#

yeah vcns is light asf

#

i got survey on aug 14th but my interviewer took a month to scheudle my interview

fathom sun
#

damn mine took 1 day

peak cave
#

overall unlucky proc for me ig

#

hopefully ill get lucky here

fathom sun
#

yea it be like that

peak cave
#

ppl were saying u only need 2/3 but i dont think my tech was good enough to pass tbh

fathom sun
#

for the behavoiral did they ask let me about yourself

peak cave
#

nah

fathom sun
#

or y u wanna join c1

peak cave
#

nah

fathom sun
#

oh then behave shouldnt have been more than 15-20 mins

#

cause its only 3 questions

peak cave
#

yeah finished in 20 mins

fathom sun
#

did they ask the status qouo question

peak cave
#

yeah

#

do yall know which interview has the most weight

#

is it tech or case

fathom sun
#

tech imo

peak cave
#

also do yall know if they only require 2/3 or do u need like decent on all

fathom sun
#

from past reddit posts

fathom sun
#

this person did well on tech and behave

#

ok on case

fathom sun
#

sure!

#

i also have my own doc too ๐Ÿ˜ญ

#

๐Ÿ‘

peak cave
fathom sun
#

oh yea mb, i meant loan

peak cave
lucid geyser
#

@peak cave for the loan offers, are u supposed to map (YYYY, MM) to the balance of that month, and also at the same time keep a running balance or smth? what did u mean by current vs total balance.

peak cave
#

balance iirc should be updated in that key, so like u should map yyyy, mm to amount, and amount updates based on the sum of amount paid and initial balance

#

current balance would be like ur current remaining, and i think i meant to say initial balance, so initial balance is what u started out with before any payments

lucid geyser
#

yep makes sense, and then u just feed into the equation to get some number and use if statements to find the best loan offer right?

lucid geyser
#

@peak cave what was ur case interview?

fathom sun
# peak cave vcn

were in the same boat, good behave and case, not so good tech ๐Ÿ˜ญ

#

i had vcn and fraud

#

chocked on q4 for fraud

fathom sun
#

ye

fathom sun
#

no thats q3

#

q4 is multi client

#

they asked me to implement it

#

ye

#

loop once to find avg, loop again to compare

lucid geyser
#

wtf there r 4 questions?? i got loan offer and only got to q3 the best offer and then he asked if i had any questions for him

fathom sun
lucid geyser
#

that better be it

#

๐Ÿคž

wind creek
fathom sun
wind creek
#

Oct 1st for case

#

Wbu. When was your interview

lucid geyser
#

i got 4t1f too, oct1 case

wind creek
lucid geyser
#

yes

fathom sun
wind creek
#

damn