Join Regular Classroom : Visit ClassroomTech

January 2023

Linkedin Overall Interview Questions + Coding Solutions- codewindow.in

Hot Topics Linkedin Solution Technical Round Question 1 Find the second largest element in a Binary Search Tree. Answer The second largest element in a Binary Search Tree can be found by traversing the tree in the following steps: Start by initializing a variable to store the current node, and set it to the root […]

Linkedin Overall Interview Questions + Coding Solutions- codewindow.in Read More »

PWC Interview Questions + Coding Solutions – codewindow.in

Hot Topics PWC Solution Technical Round Question 1 What is the result if we do following Null + 90? Answer The result of adding a null value and 90 will be null or undefined. In most programming languages, the result of an operation involving a null or undefined value is also null or undefined. This

PWC Interview Questions + Coding Solutions – codewindow.in Read More »

Texas Instrument Interview Questions + Coding Solutions – codewindow.in

Hot Topics Texas Instrument Solution Technical Round Question 1 In how many ways one can design NOT gate? Describe them briefly. Answer There are several ways to design a NOT gate: Using a transistor: A NOT gate can be designed using a bipolar junction transistor (BJT) or a field-effect transistor (FET) in its common-emitter, common-base,

Texas Instrument Interview Questions + Coding Solutions – codewindow.in Read More »

Deutsche Bank Interview Questions + Coding Solutions – codewindow.in

Hot Topics Deutsche Bank Solution Technical Round Question 1 I have 10 weights. 9 of them are equal, 1 is of a different weight. You only have a way to compare weights of items with other items. How many moves would it take you to determine the rogue weight? Answer To determine the rogue weight,

Deutsche Bank Interview Questions + Coding Solutions – codewindow.in Read More »

Optum – Overall Interview Questions + Coding Solutions – codewindow.in

Hot Topics Optum Solution Technical Round Question 1 Data structure for finding all files under a drive. Answer For finding all files under a drive, a tree-like data structure can be used, where the root node represents the drive and each child node represents a subdirectory. The data structure can be implemented as a file

Optum – Overall Interview Questions + Coding Solutions – codewindow.in Read More »

Salesforce – Overall Interview Questions + Coding Solutions – codewindow.in

Hot Topics Salesforce Solution Technical Round Question 1 Reverse the words in a string. Answer #include <bits/stdc++.h> using namespace std; void reverseWords(string s){ vector<string> tmp; string str = ""; for (int i = 0; i < s.length(); i++) { if (s[i] == ‘ ‘) { tmp.push_back(str); str = ""; } else str += s[i]; }

Salesforce – Overall Interview Questions + Coding Solutions – codewindow.in Read More »

Morgan Stanley Interview Questions + Coding Solutions – codewindow.in

Hot Topics Morgan Stanley Solution Technical Round Question 1 Difference between C++ and Java. Answer C++ Java 1.     C++ is a platform dependent language. Java is a platform independent language. 2.     C++ supports multiple inheritance. Java does not support multiple inheritance but it can be achieved using interfaces.  3.     C++ supports operator overloading. Java does

Morgan Stanley Interview Questions + Coding Solutions – codewindow.in Read More »

Flipkart – Overall Interview Questions + coding Solutions- codewindow.in

Hot Topics Filpkart Solution Technical Round Question 1 Find the second maximum element in an unsorted array of integers, using single for loop. Answer #include <iostream> using namespace std; int main() { int n; cin >> n; int arr[n]; for (int i = 0; i < n; i++) { cin >> arr[i]; } int first

Flipkart – Overall Interview Questions + coding Solutions- codewindow.in Read More »

Amazon Interview Questions + Coding Solutions – codewindow.in

Hot Topics Amazon Solution Technical Round Question 1 Given a string “aaabbbcc”, compress it, = “a3b3c2”. Given that output string’s length is always smaller than input string, you have do it in place. No extra space Answer #include <iostream> using namespace std; void compress(string str) { int len = str.length(); for (int i = 0;

Amazon Interview Questions + Coding Solutions – codewindow.in Read More »