• sukha kala
  • NEWBIE
  • 0 Points
  • Member since 2020

  • Chatter
    Feed
  • 0
    Best Answers
  • 0
    Likes Received
  • 0
    Likes Given
  • 0
    Questions
  • 1
    Replies
I want to put this out to the sfdc developer community to see if anyone has some feedback on a question I've received as part of a technical assessment for a Salesforce developer role. 

Specifically, a hiring manager has asked me the following:
 
Given the following 2 classes:
Class Folder
name: string
parent: Folder
 
Class File
name: string
parent: Folder
 
Complete the following function in pseudocode to return the full string path of a file.
 
function getFullFilePath(file: File): string {
         …
return path
}
My question is can someone please explain to me how you would respond to this? Also, what is your interpretation of what is being asked?

 
  • January 25, 2020
  • Like
  • 0