logo

Adobe Röportaj Deneyimi | Set 36 (Kampüs Dışı Sürüş)

Çevrimiçi Yazılı Sınav: Yetenek ve programlamaya ilişkin çoktan seçmeli sorular 2 kodlama sorusu. F2F R1 1) Herhangi bir uzunlukta bir dize verilmiştir. tüm olası dizi uzunluğu kombinasyonlarını yazdır k İpucu özyinelemeyi kullanın 2) Spiral sırayla bir matris baskı verildiğinde. 3) Verilen ağacın BST olup olmadığını doğrulayın. Yöntem 3'e göre çözüldü https://www.geeksforgeeks.org/dsa/a-program-to-check-if-a-binary-tree-is-bst-or-not/ Daha sonra kendisi aynı bağlantıdan yöntem 1 hakkında sözlü olarak bilgi verdi ve benden bunun için kod yazmamı ve yaklaşımda neyin yanlış olduğunu bulmamı istedi. 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 Özgeçmiş ve üzerinde çalışılan projeler hakkında görüşüldü. 1) Verilen bir ikili akış durumu, eğer sayı herhangi bir zamanda 3'e bölünebiliyorsa 2-3 yaklaşım tartışılmıştır. 2) Sözlüğün uygulanmasına yönelik çeşitli yaklaşımları tartıştı. 3) Verilen bir kümenin olası tüm alt kümeleri yazdırılır. F2F R4 (yönetmenlik turu sonuncusu) İş projelerim ve üniversite projelerim hakkında da tartışıldı. Dizi döndürme problemine yönelik çeşitli yaklaşımlar ve karmaşıklıklar tartışıldı. Adobe için Tüm Alıştırma Problemleri !

İlgili Uygulama Problemleri

Minimum atlama sayısı