Question d’entretien chez Zillow

​ // // Write a function that takes a string and returns its length without using built in properties (such as .length or .size()). //

Réponses aux questions d'entretien

Utilisateur anonyme

5 nov. 2018

function length(str) { let length = 0; while (str[length]) { length++; } return length; }

Utilisateur anonyme

29 janv. 2019

in ruby: b=str.split("") c= 0 b.each do |t| c += 1 end puts c in python: c = 0 for i in len(str): c += 1 print(c)

Utilisateur anonyme

17 janv. 2021

It's essential to demonstrate that you can really go deep... there are plenty of followup questions and (sometimes tangential) angles to explore. There's a lot of Software Development Engineer experts who've worked at Zillow, who provide this sort of practice through mock interviews. There's a whole list of them curated on Prepfully. prepfully.com/practice-interviews