Filter interviews by
There are 5 types of inheritance: single, multiple, multilevel, hierarchical, and hybrid.
Single inheritance: A class inherits from a single base class.
Multiple inheritance: A class inherits from multiple base classes.
Multilevel inheritance: A class inherits from a derived class, which in turn inherits from another class.
Hierarchical inheritance: Multiple classes inherit from a single base class.
Hybrid inheritance:...
Malware is a broad term that includes viruses, which are a specific type of malware. Python code can be used to identify IP addresses in malware analysis.
Malware is a general term for any type of malicious software, while viruses are a specific type of malware that self-replicates by inserting copies of itself into other computer programs.
Python code can be used to extract and analyze IP addresses from malware sam...
Implement a data structure for storing and manipulating an array of strings.
Use a dynamic array to store the strings.
Implement functions for adding, removing, and accessing strings in the array.
Consider memory management and resizing the array as needed.
4 pillars of OOPs are Abstraction, Encapsulation, Inheritance, and Polymorphism. TCP/IP and OSI models are networking models.
Abstraction: Hiding implementation details and showing only necessary information.
Encapsulation: Binding data and functions together and restricting access to them.
Inheritance: Creating new classes from existing ones, inheriting their properties and methods.
Polymorphism: Ability of objects t...
You are given a Singly Linked List of integers. Your task is to sort the list using the 'Merge Sort' algorithm.
The input consists of a single line containi...
Sort a Singly Linked List using Merge Sort algorithm.
Implement the Merge Sort algorithm for linked lists.
Divide the list into two halves, sort each half recursively, and then merge them.
Use a fast and slow pointer to find the middle of the list for splitting.
Handle the base cases of empty list or single node list.
Example: Input: 4 3 2 1 -1, Output: 1 2 3 4
The task is to determine the number of distinct elements in every sliding window of size 'K' across an array 'ARR' of size 'N'. A 'K' sized window is a contiguous seque...
Calculate the count of distinct elements in each sliding window of size 'K' across an array 'ARR'.
Use a sliding window approach to iterate through the array and keep track of distinct elements using a hashmap or set.
Update the count of distinct elements in each window as it slides across the array.
Return the array detailing the count of distinct elements in each 'K' sized window for each test case.
You are given a string STR
which contains alphabets, numbers, and special characters. Your task is to reverse the string.
STR = "abcde"
"ed...
Reverse a given string containing alphabets, numbers, and special characters.
Iterate through the string from end to start and append each character to a new string.
Alternatively, use built-in functions like reverse() or slicing to reverse the string.
Handle special characters and numbers while reversing the string.
Ensure to consider the constraints on the length of the string and number of test cases.
SQL query to find the second highest salary from a table
Use the MAX() function to find the highest salary
Use the NOT IN operator to exclude the highest salary from the results
Order the salaries in descending order and limit the result to 1
Your task is to rearrange a given array ARR
such that all zero elements appear at the beginning, followed by non-zero elements, while maintaining the relative order of ...
Rearrange an array such that all zero elements appear at the beginning, followed by non-zero elements, maintaining relative order of non-zero elements.
Iterate through the array and maintain two pointers - one for the next position to place a zero and one for the next non-zero element.
Swap the elements at these pointers until all zeros are moved to the left and non-zero elements are in their relative order.
Time com...
Help Ninja sort the provided list of strings according to a specific condition given by a monster. The condition is to sort the strings based on the last letter. If two ...
Sort the list of strings based on the last character, then second last character, and so on.
Iterate through each string in the list
Sort the strings based on the last character first, then second last character, and so on
Use a custom sorting function to achieve the required sorting order
There were around 60 questions and negative marking was also there
I am a Full Stack Developer with experience in front-end and back-end technologies.
Proficient in HTML, CSS, JavaScript for front-end development
Skilled in Node.js, Express, MongoDB for back-end development
Experience with React.js and Angular for building interactive web applications
Diamond problem is a common issue in multiple inheritance where a class inherits from two classes that have a common ancestor.
Occurs in languages that support multiple inheritance like C++
Results in ambiguity when calling methods or accessing attributes from the common ancestor class
Can be resolved using virtual inheritance or interfaces
Run length encoding is a data compression technique that replaces repeated characters with a count and single character.
Iterate through the input array of strings
Count the number of consecutive characters in each string
Replace consecutive characters with count and character
Rotate an array of strings by d times
Create a new array and copy elements from original array based on rotation index
Use modulo operator to handle cases where d is greater than array length
Handle edge cases like empty array or d being negative
I appeared for an interview in May 2025, where I was asked the following questions.
I appeared for an interview in Apr 2025, where I was asked the following questions.
Total 60 question 30 from C/C++ output and 30 from profit-loss, find age and related to ratio
To rotate a matrix 90 degrees, transpose the matrix and then reverse each row.
Transpose the matrix by swapping matrix[i][j] with matrix[j][i]
Reverse each row of the transposed matrix to get the final rotated matrix
Reversing a doubly linked list involves swapping the next and previous pointers of each node.
Initialize three pointers: current, prev, and next.
Iterate through the list, adjusting pointers: current.next = prev and current.prev = next.
Move prev and current one step forward until the end of the list.
Set the head of the list to the last processed node.
Iterative solution to perform preorder traversal without using recursion
Use a stack to keep track of nodes
Start by pushing the root node onto the stack
While the stack is not empty, pop a node, visit it, then push its right child followed by its left child onto the stack
One hour - only maths
Pretty easy just same basic aptitude and output based questions in C/C++ language
I applied via Referral and was interviewed in Dec 2023. There were 3 interview rounds.
I applied via Campus Placement and was interviewed in Jan 2024. There were 3 interview rounds.
First round was aptitude + coding. 60 questions in 60 mi , 30 about aptitude (mostly quants) , 30 about coding mcqs related to dsa ,oops. There was negative marking also.
I applied via Approached by Company and was interviewed in Mar 2024. There was 1 interview round.
I applied via Campus Placement and was interviewed in Jan 2024. There were 3 interview rounds.
60 min 60 qs and negative marking
Top trending discussions
The duration of WatchGuard Technologies interview process can vary, but typically it takes about less than 2 weeks to complete.
based on 20 interview experiences
Difficulty level
Duration
based on 19 reviews
Rating in categories
Software Engineer
35
salaries
| ₹8 L/yr - ₹22.8 L/yr |
Associate Software Engineer
23
salaries
| ₹8.1 L/yr - ₹11.5 L/yr |
Senior Software Engineer
22
salaries
| ₹24.4 L/yr - ₹38 L/yr |
Software Developer
7
salaries
| ₹8 L/yr - ₹10.1 L/yr |
Technical Lead
5
salaries
| ₹24 L/yr - ₹46.5 L/yr |
Sterlite Technologies
Cisco
BT Business
Lumen Technologies