Filter interviews by
To rotate a matrix by 45 degrees, transpose the matrix and then reverse the rows.
Transpose the matrix
Reverse the rows of the transposed matrix
Encapsulation is the concept of bundling data and methods that operate on the data into a single unit.
Encapsulation helps in hiding the internal state of an object and restricting access to it.
It allows for data hiding, which prevents direct access to an object's attributes.
Encapsulation also enables the concept of data abstraction, where only relevant details are exposed to the outside world.
By using access modifiers ...
MySQL database can be configured using configuration files like my.cnf, command line options, and environment variables.
Use my.cnf file to configure settings like port number, data directory, and buffer sizes
Command line options can be used to override settings from my.cnf file
Environment variables like MYSQL_ROOT_PASSWORD can be used to set passwords during installation
Top trending discussions
I applied via Campus Placement and was interviewed in Jan 2024. There was 1 interview round.
Find duplicates in an array of strings
Iterate through the array and store each element in a hash set
If an element is already in the hash set, it is a duplicate
Return a list of all duplicates found
posted on 19 Oct 2022
Reasoning coding technical questions etc
posted on 22 Feb 2022
I applied via Referral and was interviewed in May 2021. There were 3 interview rounds.
I was interviewed in Mar 2022.
Round duration - 60 minutes
Round difficulty - Medium
Mcq + Data structures questions
Given an array of integers, find the maximum sum of any contiguous subarray within the array.
array = [34, -50, 42, 14, -5, 86]
137
O(1) because the extra space being used (looping vari...
Round duration - 70 minutes
Round difficulty - Medium
Standard System Design round
Tip 1 : Implement using OOPs
Tip 2 : Try to tell your approach to the interviewer as much as you can side by side
Round duration - 90 minutes
Round difficulty - Medium
Interview of DSA + OOPS + Databse(SQL query) + Operating System
Given a binary tree, your task is to print the left view of the tree. The left view of a binary tree contains the nodes visible when the tree is viewed from the left side.
This problem can be solved through recursion.We will maintain max_level variable which will keep track of maxLevel and will pass current level in recursion as argument. Whenever we see a node whose current level is more than maxLevel then we will print that node as that will be first node for that current level. Also update maxLevel with current level.
Space Complexity: O(n)Explanation:O(N), where ‘N’...
Round duration - 60 minutes
Round difficulty - Easy
Hr round - normal hr questions + situational
Thoughtworks community discussion
Tip 1 : Read all Thoughtworks community page and be honest
Tip 2 : Be open-minded and answer whatever you are thinking, in these rounds I feel it is important to have opinion.
Tip 3 : The cross-questioning can go intense sometimes, think before you speak.
Tip 1 : Must do Previously asked Interview as well as Online Test Questions.
Tip 2 : Go through all the previous interview experiences from Codestudio and Leetcode.
Tip 3 : Do at-least 2 good projects and you must know every bit of them.
Tip 1 : Have at-least 2 good projects explained in short with all important points covered.
Tip 2 : Every skill must be mentioned.
Tip 3 : Focus on skills, projects and experiences more.
posted on 2 Apr 2022
I applied via Naukri.com and was interviewed in Jun 2021. There were 4 interview rounds.
List is mutable and Tuple is immutable in Python.
List can be modified after creation while Tuple cannot be modified.
List uses square brackets [] while Tuple uses parentheses ().
List is used for homogenous data while Tuple is used for heterogenous data.
List is slower than Tuple in terms of performance.
Example of List: [1, 2, 3] and Example of Tuple: (1, 'hello', 3.14)
Python uses automatic memory management through garbage collection.
Python uses reference counting to keep track of memory usage.
When an object's reference count drops to zero, it is deleted.
Python also uses a garbage collector to handle circular references.
Memory allocation is handled by the Python memory manager.
Python provides tools like the 'gc' module for managing memory usage.
Yes, numpy and pandas are Python libraries used for data analysis and manipulation.
NumPy is used for numerical operations on arrays and matrices.
Pandas is used for data manipulation and analysis, providing data structures like DataFrame.
Both libraries are commonly used in data science and machine learning.
Example: import numpy as np; import pandas as pd;
Generator generates values on the fly while iterator iterates over a collection of values.
Generator is a function that returns an iterator.
Generators use 'yield' keyword to return values one at a time.
Iterators are objects that implement the 'next' method to return the next value in a collection.
Iterators can be created from arrays, strings, maps, sets, etc.
Generators are useful for generating large sequences of values...
posted on 10 Aug 2022
I was interviewed in Feb 2022.
Project explanation
Reverse a string without using any inbuilt method.
Iterate through the string from the last character to the first
Create a new string and append each character to it
Return the reversed string
Convert a smallcased string to all capital case.
Use the toUpperCase() method to convert the string to uppercase.
Assign the result to a new variable or overwrite the original string.
Make sure to handle any non-alphabetic characters appropriately.
Hashmap is a data structure that stores key-value pairs and uses hashing to retrieve values quickly.
Hashmap uses an array to store the key-value pairs
The keys are hashed to generate an index in the array
If two keys hash to the same index, a linked list is used to store the values
Retrieving a value involves hashing the key to find the index and then traversing the linked list if necessary
based on 1 interview
Interview experience
based on 1 review
Rating in categories
Operations Executive
263
salaries
| ₹1.2 L/yr - ₹5.5 L/yr |
Software Developer
146
salaries
| ₹3 L/yr - ₹12 L/yr |
System Engineer
120
salaries
| ₹2 L/yr - ₹9.2 L/yr |
Software Engineer
118
salaries
| ₹2.1 L/yr - ₹9 L/yr |
IT Manager
57
salaries
| ₹1.2 L/yr - ₹4.2 L/yr |
Wipro
Amazon
TCS
Infosys