i
Wissen
Technology
Filter interviews by
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(C...
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.
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 ...
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 desig...
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...
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 use...
Flattening a 2D array involves converting it into a 1D array, simplifying data manipulation and access.
Iterate through each row: Use a loop to access each row of the 2D array.
Add elements to a new array: For each element in the row, add it to a new 1D array.
Example: Given [[1, 2], [3, 4]], the result is [1, 2, 3, 4].
Using Streams: In Java 8+, you can use streams to flatten arrays: Arrays.stream(array).flatMap(Arra...
Creating batches of arrays involves grouping multiple arrays into a single structure for easier management and processing.
Array of Arrays: You can create a batch by using an array of arrays, e.g., String[][] batches = { {"A", "B"}, {"C", "D"} };
Dynamic Batching: Use a List of arrays for dynamic sizes, e.g., List<String[]> batchList = new ArrayList<>(); batchList.add(new String[]{"A", "B"});
Batch Proces...
A palindromic string can be formed if at most one character has an odd count in the string.
Count the frequency of each character in the string.
A palindrome can have at most one character with an odd frequency.
Example: 'civic' can form a palindrome (c, i, v) - all even counts.
Example: 'ivicc' can also form a palindrome (i, v, c) - one odd count.
Example: 'hello' cannot form a palindrome (h, e, l, o) - more than one ...
The code snippet performs a specific function, manipulating data or executing a task based on its logic.
It may define functions or methods that encapsulate reusable logic.
Variables are likely used to store data, e.g., 'int count = 0;' for counting.
Control structures like loops or conditionals dictate flow, e.g., 'if (x > 10) { ... }'.
It could involve data structures like arrays or objects for organizing informa...
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<>...
posted on 2 Mar 2025
I appeared for an interview in Feb 2025.
I have over 8 years of experience in recruitment across various industries and roles.
Managed end-to-end recruitment process including sourcing, screening, interviewing, and onboarding.
Utilized various recruitment tools and platforms to attract top talent.
Developed and maintained strong relationships with hiring managers and candidates.
Implemented recruitment strategies to improve time-to-fill and quality of hires.
Condu...
I have utilized job boards such as Indeed, LinkedIn, Glassdoor, and Monster.
Indeed
Glassdoor
Monster
I applied via LinkedIn and was interviewed in Dec 2024. There were 2 interview rounds.
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 applied via Approached by Company
Design classes and interfaces for a card game, including card values and suits.
Create a Card class with properties: rank (A, 2-10, J, Q, K) and suit (Hearts, Diamonds, Clubs, Spades).
Implement a Deck class to manage a collection of Card objects, including shuffling and dealing methods.
Define a Game interface with methods like startGame(), endGame(), and playTurn().
Consider creating specific game classes (e.g., PokerGam...
I appeared for an interview in Nov 2024.
Coding test was easy. They asked LC easy anyone with fair understanding of programming can easily solve it.
I applied via Naukri.com and was interviewed in Dec 2024. There was 1 interview round.
Convert an object array to an integer list, handling nested arrays of objects.
Use recursion to handle nested arrays. Example: [1, '2', [3, '4']] becomes [1, 2, 3, 4].
Check each element's type; convert strings to integers. Example: '5' -> 5.
Filter out non-integer convertible values. Example: ['a', 1] results in [1].
Utilize Java Streams for a concise solution if using Java.
Hackearth online coding test for 1 hour
Use sorting or heap data structure to find k largest elements in an array of strings.
Sort the array in descending order and return the first k elements.
Use a max heap data structure to efficiently find the k largest elements.
Examples: ['apple', 'banana', 'orange', 'kiwi'], k=2 -> ['orange', 'kiwi']
Remove duplicates from array of strings
Create a Set to store unique strings
Iterate through the array and add each string to the Set
Convert the Set back to an array to get the unique strings
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...
Top trending discussions
Some of the top questions asked at the Wissen Technology interview -
The duration of Wissen Technology interview process can vary, but typically it takes about less than 2 weeks to complete.
based on 162 interview experiences
Difficulty level
Duration
based on 478 reviews
Rating in categories
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