Interview Questions
1. manager, a, b -> represents that a is manager of b 2. peer, a, b -> both a and b have the same manager 3. is_manager a, b -> you should return whether a is manager of binput = "home/usr/lib/%EXAMPLE%", {EXAMPLE: "testfile.tx"} output = "home/usr/lib/testfile.txt" input = "Hi %USER% how are you doing today %DATE%?", {USER: "John", DATE: "01/01/2024"} output = "Hi John how are you doing today 01/01/2024?"input = "Hi %USER%", {USER: "%PRONOUN% John", PRONOUN: "Mr."}
Last updated