logo

Doświadczenie w rozmowie kwalifikacyjnej Adobe | Zestaw 36 (przejazd poza kampusem)

Test pisemny online: Pytania wielokrotnego wyboru dotyczące umiejętności i programowania 2 pytania dotyczące kodowania. F2F R1 1) Biorąc pod uwagę ciąg o dowolnej długości. wypisz wszystkie możliwe kombinacje długości łańcucha k Podpowiedź użyj rekurencji 2) Biorąc pod uwagę wydruk matrycowy w kolejności spiralnej. 3) Sprawdź, czy dane drzewo jest BST, czy nie. Został rozwiązany zgodnie z metodą 3 https://www.geeksforgeeks.org/dsa/a-program-to-check-if-a-binary-tree-is-bst-or-not/ Następnie sam ustnie poinformował o metodzie 1 z tego samego linku i poprosił mnie o napisanie kodu dla tego samego i ustalenie, co jest nie tak z tym podejściem. F2f r2 1) Given a Node such that
Node x { boolean ifFile; int[] children; } 
had to print all the paths from root to the file. if there is no file don't print anything. Note: This is not tree or graph. The structure is like windows file system and hierarchy can be any long. So recursion will cause stack overflow. Solve it without recursion 2) Given a sorted array with one number having any number of duplicates For eg [12344456] Find the index of the first occur of duplicating element. So for above example your function should return 3. Hint: Use Binary search 3) Minimum number of jumps to reach end Given an array of integers where each element represents the max number of steps that can be made forward from that element. Write a function to return the minimum number of jumps to reach the end of the array (starting from the first element). If an element is 0 then cannot move through that element. Example: Input: arr[] = {1 3 5 8 9 2 6 7 6 8 9} Output: 3 (1-> 3 -> 8 ->9) F2F R3 Omawiano CV i projekty, nad którymi pracowano. 1) Biorąc pod uwagę stan strumienia binarnego, jeśli liczba jest podzielna przez 3 w dowolnym momencie. Omówiono podejścia 2-3. 2) Omówiono różne podejścia do implementacji słownika. 3) Biorąc pod uwagę zbiór, wypisz wszystkie możliwe podzbiory. F2F R4 (ostatnia runda reżyserska) Rozmawialiśmy także o moich projektach związanych z pracą i studiami. Omówiono różne podejścia i złożoności problemu rotacji układu. Wszystkie problemy praktyczne dla Adobe !

Powiązane problemy praktyczne

Minimalna liczba skoków