instruction
stringclasses 6
values | input
float64 | output
stringlengths 10
563
|
---|---|---|
software development interview question | null | Given a Binary Tree, find the Right/Left view of it. The right view of a Binary Tree is a set of nodes visible when the tree is viewed from the right side. The left view of a Binary Tree is a set of nodes visible when the tree is viewed from the left side. |
software development interview question | null | Given a Binary Tree, return its Bottom View. The Bottom View of a Binary Tree is the set of nodes visible when we see the tree from the bottom. |
software development interview question | null | Given a Binary Tree, return its Top View. The Top View of a Binary Tree is the set of nodes visible when we see the tree from the top. |
software development interview question | null | Given the root of a Binary Tree, return the preorder, inorder and postorder traversal sequence of the given tree by making just one traversal. |
software development interview question | null | Given a Binary Tree, return the Vertical Order Traversal of it starting from the Leftmost level to the Rightmost level. If there are multiple nodes passing through a vertical line, then they should be printed as they appear in level order traversal of the tree. |
software development interview question | null | Given a Binary Tree, return its maximum width. The maximum width of a Binary Tree is the maximum diameter among all its levels. The width or diameter of a level is the number of nodes between the leftmost and rightmost nodes. |
software development interview question | null | Given the root of a Binary Tree, returns an array containing the level order traversal of the tree. |
software development interview question | null | Given the root of a Binary Tree, return the height of the tree. The height of the tree is equal to the number of nodes on the longest path from root to a leaf. |
software development interview question | null | Given a Binary Tree, print the zigzag traversal of the Binary Tree. Zigzag traversal of a binary tree is a way of visiting the nodes of the tree in a zigzag pattern, alternating between left-to-right and right-to-left at each level. |
software development interview question | null | Given two Binary Trees, return if true if the two trees are identical, otherwise return false. |
software development interview question | null | Given a Binary Tree, print the zigzag traversal of the Binary Tree. Zigzag traversal of a binary tree is a way of visiting the nodes of the tree in a zigzag pattern, alternating between left-to-right and right-to-left at each level. |
software development interview question | null | Given a Binary Tree, perform the boundary traversal of the tree. The boundary traversal is the process of visiting the boundary nodes of the binary tree in the anticlockwise direction, starting from the root. |
software development interview question | null | Given a Binary Tree, determine the maximum sum achievable along any path within the tree. A path in a binary tree is defined as a sequence of nodes where each pair of adjacent nodes is connected by an edge. Nodes can only appear once in the sequence, and the path is not required to start from the root. Identify and compute the maximum sum possible along any path within the given binary tree. |
software development interview question | null | Given the Preorder and Inorder traversal of a Binary Tree, construct the Unique Binary Tree represented by them. |
software development interview question | null | Given a Binary Tree, determine whether the given tree is symmetric or not. A Binary Tree would be Symmetric, when its mirror image is exactly the same as the original tree. If we were to draw a vertical line through the centre of the tree, the nodes on the left and right side would be mirror images of each other. |
software development interview question | null | Given a Binary Tree, convert the value of its nodes to follow the Children Sum Property. The Children Sum Property in a binary tree states that for every node, the sum of its children's values (if they exist) should be equal to the node's value. If a child is missing, it is considered as having a value of 0. |
software development interview question | null | Given a Binary Search Tree and an integer ‘K’. Find and return the ‘K-th’ smallest and ‘K-th’ largest element in the given Binary Search Tree. |
software development interview question | null | Given a Binary Tree, design an algorithm to serialise and deserialise it. There is no restriction on how the serialisation and deserialization takes place. But it needs to be ensured that the serialised binary tree can be deserialized to the original tree structure. Serialisation is the process of translating a data structure or object state into a format that can be stored or transmitted (for example, across a computer network) and reconstructed later. The opposite operation, that is, extracting a data structure from stored information, is deserialization. |
software development interview question | null | Given an undirected graph, return a vector of all nodes by traversing the graph using depth-first search (DFS). |
software development interview question | null | Given an undirected graph, return a vector of all nodes by traversing the graph using breadth-first search (BFS). |
software development interview question | null | Given an undirected graph with V vertices and E edges, check whether it contains any cycle or not. |
software development interview question | null | Given a Directed Graph with V vertices and E edges, check whether it contains any cycle or not. |
software development interview question | null | Given a boolean 2D matrix grid of size N x M. You have to find the number of distinct islands where a group of connected 1s (horizontally or vertically) forms an island. Two islands are considered to be distinct if and only if one island is equal to another (not rotated or reflected). |
software development interview question | null | Given an adjacency list of a graph adj of V no. of vertices having 0 based index. Check whether the graph is bipartite or not. |
software development interview question | null | Given a Directed Graph with V vertices (Numbered from 0 to V-1) and E edges, Find the number of strongly connected components in the graph. |
software development interview question | null | Given a weighted, directed and connected graph of V vertices and E edges, Find the shortest distance of all the vertices from the source vertex S. |
software development interview question | null | The problem is to find the shortest distances between every pair of vertices in a given edge-weighted directed graph. The graph is represented as an adjacency matrix of size n*n. Matrix[i][j] denotes the weight of the edge from i to j. If Matrix[i][j]=-1, it means there is no edge from i to j. |
software development interview question | null | Given a weighted, undirected, and connected graph of V vertices and E edges. The task is to find the sum of weights of the edges of the Minimum Spanning Tree. |
software development interview question | null | Given a weighted, undirected, and connected graph of V vertices and E edges. The task is to find the sum of weights of the edges of the Minimum Spanning Tree. |
software development interview question | null | Given an array that contains both negative and positive integers, find the maximum product subarray. |
software development interview question | null | Given a string of alphabetic characters. Return the count of distinct substrings of the string(including the empty string) using the Trie data structure. |
software development interview question | null | Given a string, find all the possible subsequences of the string. |
Application development interview question | null | What is your development methodology when designing applications and features? |
Application development interview question | null | What programming language do you consider to be the most effective for developing applications? |
Application development interview question | null | Which programming languages are you most comfortable with, and why? |
Application development interview question | null | What techniques do you use to develop learning aids for application development? |
Application development interview question | null | What strategies do you implement to prevent an application from crashing? |
Application development interview question | null | Describe a programming challenge you encountered and what you did to solve it. |
Application development interview question | null | How do you balance client demands with application software development? |
Application development interview question | null | How would you explain object-oriented programming to someone without a technical background? |
Application development interview question | null | Do you have experience with the agile methodology? If so, describe some pros and cons of implementing it in software development. |
Application development interview question | null | What kind of tests do you perform before the launch of a product or service? |
Application development interview question | null | How do you differentiate quality control from quality assurance during software testing? |
Application development interview question | null | Tell me how applications interact with system software and other IT infrastructures. |
Application development interview question | null | What techniques do you use to migrate an application from one platform to another with a different operating system? |
Application development interview question | null | How do you stay up to date on technology and industry development? |
Application development interview question | null | What are some of the challenges of working with onshore and offshore teams? |
Application development interview question | null | How do web applications differ from mobile applications? |
Application development interview question | null | How can you store data in Android and iOS? Which databases and native solutions are available? |
Application development interview question | null | What are internationalization and localization? Do these terms mean the same thing? |
Application development interview question | null | What is the best way for a server to notify an app that some new data is available? |
Application development interview question | null | How can you debug your app when it’s already released? |
Application development interview question | null | How can sensitive data like contacts or access to the camera (or other sensors) be secured in the world of mobile apps? |
Application development interview question | null | What is the difference between native apps and hybrid apps? What are the advantages and disadvantages of hybrid apps? |
Application development interview question | null | What are the main things you have to be cautious about when writing for mobile? |
Application development interview question | null | Describe the process of publishing apps on Google Play and in Apple’s App Store. What do you need to publish an app to each store? |
Application development interview question | null | How can you deal with the plethora of different screen resolutions and screen sizes out there? What unit has been introduced to simplify positioning and sizing elements? How do you deal with images? |
Application development interview question | null | What is app sandboxing and what is it for? |
Application development interview question | null | What features would you change/implement to an application to make it faster? |
Application development interview question | null | Do you have an idea of an app or feature that our customers would enjoy? |
Application development interview question | null | How would you ensure the application you’re designing will scale to fit multiple screen sizes? |
Application development interview question | null | What would you do if you discovered that a feature you designed had made the application run more slowly? |
Application development interview question | null | Which programming languages are you mostly familiar with? |
Application development interview question | null | What interfaces do you choose to create a user-friendly application? |
Application development interview question | null | How do you minimize security risks? |
Application development interview question | null | What steps do you take to migrate an application from one platform to another? |
Application development interview question | null | What are the main differences between web and mobile applications? |
Application development interview question | null | How do you troubleshoot a crashing application? |
Application development interview question | null | What are the commonly used languages in Android? |
Application development interview question | null | What are the main components of the Android application framework? |
Application development interview question | null | What are the benefits and disadvantages of Kotlin? |
Application development interview question | null | How are permissions managed in Android? |
Application development interview question | null | What are the launch modes available for the activity in Android? |
Application development interview question | null | What is the difference between fragment and activity? |
Application development interview question | null | What are the examples of design patterns used in Android applications? |
Application development interview question | null | What types of Android app architectural patterns are there? |
Application development interview question | null | What additional libraries do you use in Android app development? |
Application development interview question | null | What is PendingIntent in Android? |
Application development interview question | null | What is a content provider in Android? |
Application development interview question | null | What is meant by ANR? |
Application development interview question | null | What kind of services are available on Android? |
Application development interview question | null | Explain flavors in Android |
Application development interview question | null | How do you handle a long-running process in an Android app? |
Application development interview question | null | How do you protect an Android app from reverse engineering? |
Application development interview question | null | What is Android Jetpack and what are its libraries? |
Application development interview question | null | What are the new updates and features in Android 13? |
Application development interview question | null | How do you publish an Android app to the Play Store? |
Application development interview question | null | What is needed to run code as coroutine? |
Application development interview question | null | How do you test an Android application? |
Application development interview question | null | What’s the purpose of RxJava? |
Application development interview question | null | What are the benefits of MVVM? |
Application development interview question | null | How do you provide dependencies between different parts of the app? |
Application development interview question | null | What is the Android Architecture? |
Application development interview question | null | What is the Android Architecture? |
Application development interview question | null | What is the Android Architecture? |
Application development interview question | null | What is the importance of having an emulator within the Android environment? |
Application development interview question | null | What is the use of an activityCreator? |
Application development interview question | null | Describe Activities. |
Application development interview question | null | What are Intents? |
Application development interview question | null | Differentiate Activities from Services. |