i
Wissen
Technology
Filter interviews by
Merging two sorted arrays involves combining them into a single sorted array while maintaining order.
Use two pointers to track the current index of each array.
Compare the elements at both pointers and add the smaller one to the result array.
Increment the pointer of the array from which the element was taken.
Continue until all elements from both arrays are processed.
Example: Merging [1, 3, 5] and [2, 4, 6] results ...
String literals are constant strings defined in code, while the string pool is a memory area where unique string objects are stored.
String literals are created using double quotes, while string pool objects are created using the 'new' keyword.
String literals are stored in the string pool to conserve memory and improve performance.
String literals are automatically interned by the JVM, while string pool objects need...
Add hashCode() and equals() methods to Employee class.
Override hashCode() method to generate a unique hash code for each Employee object.
Override equals() method to compare Employee objects based on their attributes.
Ensure that the attributes used in hashCode() and equals() methods are immutable.
Example: Add id, name, and department attributes to Employee class and override hashCode() and equals() methods based on...
Program to print the 90-degree rotated view of a 2D array.
Iterate through each column in reverse order and print the corresponding row elements.
Repeat this process for all columns to get the rotated view of the 2D array.
Program to reverse a linked list
Create a new linked list to store the reversed elements
Traverse the original linked list and insert each node at the beginning of the new list
Update the head of the new list as the last node of the original list
Ways to create a thread in Java include extending the Thread class, implementing the Runnable interface, and using Java 8's lambda expressions.
Extend the Thread class and override the run() method
Implement the Runnable interface and pass it to a Thread object
Use Java 8's lambda expressions with the Executor framework
OOP is a programming paradigm based on the concept of objects, which can contain data in the form of fields and code in the form of procedures.
OOP focuses on creating objects that interact with each other to solve a problem.
Encapsulation is a key concept in OOP, where data is kept within an object and only accessible through its methods.
Inheritance allows objects to inherit attributes and methods from parent class...
Threads communicate in Java through shared memory or message passing.
Threads can communicate through shared variables in memory.
Threads can communicate through synchronized methods or blocks.
Threads can communicate through wait(), notify(), and notifyAll() methods.
Threads can communicate through message passing using classes like BlockingQueue or ExecutorService.
Custom stack with constant time access to minimum element
Use two stacks - one to store elements and another to store minimum values
When pushing an element, compare with top of min stack and push the smaller value
When popping an element, pop from both stacks
Access minimum element in O(1) time by peeking at top of min stack
To create an immutable class named Employee with fields for name and hobbies defined as List<String>, use private final fields and return new instances in getters.
Use private final fields for name and hobbies in the Employee class
Provide a constructor to initialize the fields
Return new instances or unmodifiable lists in the getters to ensure immutability
I appeared for an interview in Dec 2024.
Custom stack with constant time access to minimum element
Use two stacks - one to store elements and another to store minimum values
When pushing an element, compare with top of min stack and push the smaller value
When popping an element, pop from both stacks
Access minimum element in O(1) time by peeking at top of min stack
To create an immutable class named Employee with fields for name and hobbies defined as List<String>, use private final fields and return new instances in getters.
Use private final fields for name and hobbies in the Employee class
Provide a constructor to initialize the fields
Return new instances or unmodifiable lists in the getters to ensure immutability
Add hashCode() and equals() methods to Employee class.
Override hashCode() method to generate a unique hash code for each Employee object.
Override equals() method to compare Employee objects based on their attributes.
Ensure that the attributes used in hashCode() and equals() methods are immutable.
Example: Add id, name, and department attributes to Employee class and override hashCode() and equals() methods based on thes...
Singleton design pattern ensures a class has only one instance and provides a global point of access to it.
Create a private static instance of the class within the class itself.
Provide a public static method to access the instance, creating it if necessary.
Ensure the constructor of the class is private to prevent instantiation from outside the class.
Use lazy initialization to create the instance only when needed.
Thread...
SOLID principles are a set of five design principles in object-oriented programming to make software more maintainable, flexible, and scalable.
Single Responsibility Principle (SRP) - A class should have only one reason to change. Example: A class that handles user authentication should not also handle database operations.
Open/Closed Principle (OCP) - Software entities should be open for extension but closed for modific...
OOP is a programming paradigm based on the concept of objects, which can contain data in the form of fields and code in the form of procedures.
OOP focuses on creating objects that interact with each other to solve a problem.
Encapsulation is a key concept in OOP, where data is kept within an object and only accessible through its methods.
Inheritance allows objects to inherit attributes and methods from parent classes.
Po...
Threads communicate in Java through shared memory or message passing.
Threads can communicate through shared variables in memory.
Threads can communicate through synchronized methods or blocks.
Threads can communicate through wait(), notify(), and notifyAll() methods.
Threads can communicate through message passing using classes like BlockingQueue or ExecutorService.
Program to reverse a linked list
Create a new linked list to store the reversed elements
Traverse the original linked list and insert each node at the beginning of the new list
Update the head of the new list as the last node of the original list
String literals are constant strings defined in code, while the string pool is a memory area where unique string objects are stored.
String literals are created using double quotes, while string pool objects are created using the 'new' keyword.
String literals are stored in the string pool to conserve memory and improve performance.
String literals are automatically interned by the JVM, while string pool objects need to b...
Program to print the 90-degree rotated view of a 2D array.
Iterate through each column in reverse order and print the corresponding row elements.
Repeat this process for all columns to get the rotated view of the 2D array.
I applied via Walk-in and was interviewed in Dec 2024. There were 2 interview rounds.
The assessment consists of basic coding and SQL-related questions, including two challenge questions. The total test duration is 1 hour and 30 minutes, featuring a total of 7 questions, with a passing score of 50% out of 120 points.
I am a Java Developer currently residing in New York City.
Experienced Java Developer
Residing in New York City
Strong knowledge of Java programming language
HashMap in Java is a data structure that stores key-value pairs and uses hashing to efficiently retrieve values.
HashMap is part of the Java Collections framework.
It allows null keys and values.
Internally, it uses an array of linked lists to handle collisions.
The key's hash code is used to determine the index in the array where the key-value pair is stored.
Example: HashMap<String, Integer> map = new HashMap<>...
I applied via Company Website and was interviewed in Nov 2024. There were 2 interview rounds.
There were 3 to 4 questions related to the camera that needed to be solved within the given time.
Locking mechanism in multithreading is used to control access to shared resources by multiple threads.
Locks are used to prevent multiple threads from accessing shared resources simultaneously
Types of locks include synchronized blocks, ReentrantLock, and ReadWriteLock
Locks help prevent race conditions and ensure data consistency in multithreaded applications
Use SQL query to group by department and find employee with highest salary in each department
Write a SQL query to group by department and select max salary for each department
Join the result with employee table to get employee details
Example: SELECT dept, emp_name, MAX(salary) FROM employees GROUP BY dept
I appeared for an interview in Jun 2025, where I was asked the following questions.
Spiral traversal of a 2D matrix involves visiting elements in a spiral order to create a 1D array.
Start from the top-left corner of the matrix.
Traverse right until the end of the row, then move down the last column.
Traverse left across the bottom row, then move up the first column.
Repeat the process for the inner submatrix until all elements are visited.
Example: For matrix [[1,2,3],[4,5,6],[7,8,9]], the result is [1,2,...
Java 8 introduced significant features like lambdas, streams, and the new Date-Time API, enhancing productivity and code readability.
Lambda Expressions: Enable functional programming by allowing you to write concise code. Example: (a, b) -> a + b.
Streams API: Facilitates processing sequences of elements, enabling operations like filter, map, and reduce. Example: list.stream().filter(x -> x > 10).collect(Collec...
A functional interface is an interface with a single abstract method, enabling lambda expressions in Java.
Functional interfaces are used primarily in Java's functional programming features.
They can have multiple default or static methods but only one abstract method.
Common examples include Runnable, Callable, and Comparator.
You can create your own functional interfaces using the @FunctionalInterface annotation.
Static and default methods enhance functional interfaces by providing utility methods and default behavior without breaking existing implementations.
Static methods allow utility functions related to the interface, e.g., 'static int compare(T a, T b)'.
Default methods enable adding new functionality to interfaces without affecting existing implementations, e.g., 'default void log() { System.out.println(this); }'.
They hel...
I applied via Referral and was interviewed in Jul 2024. There were 5 interview rounds.
Five MCQs, 2 moderate-level+1 hard level coding,2 SQL queries.
Hard-level 6 Data structure based questions to write the code.
Flattening an array involves converting a multi-dimensional array into a single-dimensional array.
Use recursion to handle nested arrays. Example: flatten([1, [2, [3, 4]], 5]) results in [1, 2, 3, 4, 5].
Utilize Java Streams for a more functional approach. Example: Arrays.stream(array).flatMap(Arrays::stream).toArray() for 2D arrays.
Consider edge cases like empty arrays or arrays with null values. Example: flatten([], [n...
Use a Set to remove duplicates from an array of strings.
Create a Set to store unique elements.
Iterate through the array and add each element to the Set.
Convert the Set back to an array to remove duplicates.
To find the second highest salary, we can use SQL queries with subqueries or the DISTINCT keyword.
Use a subquery to select the maximum salary that is less than the highest salary.
Example: SELECT MAX(salary) FROM employees WHERE salary < (SELECT MAX(salary) FROM employees);
Alternatively, use the DISTINCT keyword to filter unique salaries.
Example: SELECT DISTINCT salary FROM employees ORDER BY salary DESC LIMIT 1 OFFS...
Deadlock is a situation in concurrent programming where two or more threads are blocked forever, waiting for each other to release resources.
Occurs when two or more threads hold resources and wait for each other to release them.
Example: Thread A holds Resource 1 and waits for Resource 2, while Thread B holds Resource 2 and waits for Resource 1.
Deadlocks can lead to system unresponsiveness and require careful design to ...
Coding test time limit is 60 minutes it is moderate
Identify the missing number in a sequence using mathematical formulas or iterative methods.
Use the formula for the sum of the first n natural numbers: n(n + 1)/2.
Calculate the expected sum and subtract the actual sum of the array.
Example: For array [1, 2, 4], expected sum for n=4 is 10, actual sum is 7, missing number is 10-7=3.
Alternatively, use a boolean array to track presence of numbers.
I appeared for an interview in May 2025, where I was asked the following questions.
Check if a string can form a palindrome and understand how to create an immutable class in Java.
A string can form a palindrome if at most one character has an odd count.
Example: 'racecar' can form a palindrome; 'abc' cannot.
To check, count character frequencies using a HashMap or array.
An immutable class in Java is created by declaring the class as final.
Example: Use private final fields and provide no setters.
Construc...
Comparator and Comparable are interfaces in Java for sorting objects, with different use cases and implementations.
Comparable is used to define a natural ordering of objects. Example: String implements Comparable.
Comparator is used to define an external ordering. Example: Custom sorting of objects using a separate class.
Comparable requires modifying the class to implement the interface, while Comparator can be used wit...
I applied via Naukri.com and was interviewed in Jun 2024. There was 1 interview round.
Top trending discussions
Some of the top questions asked at the Wissen Technology Java Developer interview -
The duration of Wissen Technology Java Developer interview process can vary, but typically it takes about less than 2 weeks to complete.
based on 26 interview experiences
Difficulty level
Duration
based on 5 reviews
Rating in categories
2-8 Yrs
Not Disclosed
Software Engineer
842
salaries
| ₹11.5 L/yr - ₹20 L/yr |
Senior Software Engineer
737
salaries
| ₹16.2 L/yr - ₹31 L/yr |
Principal Engineer
350
salaries
| ₹25 L/yr - ₹42 L/yr |
Software Developer
167
salaries
| ₹11.9 L/yr - ₹21 L/yr |
Associate Software Engineer
155
salaries
| ₹9 L/yr - ₹15 L/yr |
Wissen Infotech
ITC Infotech
CMS IT Services
KocharTech