i
TO THE
NEW
Filter interviews by
Hoisting is a JavaScript mechanism where variables and function declarations are moved to the top of their containing scope during compilation.
In JavaScript, variable declarations (using var) are hoisted to the top of their scope.
Function declarations are also hoisted, allowing them to be called before their definition.
Example: console.log(x); var x = 5; // Outputs 'undefined' because x is hoisted but not initiali...
Count the number of subarrays with non-repeating digits in a given array to find unique combinations.
Sliding Window Technique: Use two pointers to create a window that expands and contracts to maintain non-repeating digits.
HashSet for Uniqueness: Utilize a HashSet to track digits in the current window, ensuring all digits are unique.
Count Valid Subarrays: For each valid window, count the number of subarrays that c...
Transform an array by replacing each element with the average of its neighbors, resulting in a shorter array.
Array Length Reduction: The new array will have one less element than the original array.
Neighbor Replacement: Each element at index i in the new array is calculated as (array[i-1] + array[i+1]) / 2.
Example: For an input array [1, 2, 3, 4], the output will be [(1+3)/2, (2+4)/2] = [2, 3].
Edge Cases: The firs...
To grow Swiggy, focus on expanding services, enhancing user experience, and leveraging partnerships for broader reach.
Expand delivery options: Introduce grocery and essentials delivery to tap into daily needs, similar to how Swiggy Genie operates.
Enhance user experience: Implement AI-driven personalized recommendations based on user preferences and order history.
Loyalty programs: Develop a rewards system to encour...
OOP concepts in Java include Encapsulation, Inheritance, Polymorphism, and Abstraction, forming the foundation of object-oriented programming.
Encapsulation: Bundling data and methods that operate on the data within one unit (class). Example: private variables with public getters/setters.
Inheritance: Mechanism where one class acquires properties of another. Example: class Dog extends Animal.
Polymorphism: Ability to...
Web3 is the next evolution of the internet, emphasizing decentralization, blockchain technology, and user ownership.
Decentralization: Unlike Web2, where data is controlled by centralized entities, Web3 allows users to own their data.
Blockchain Technology: Web3 utilizes blockchain for secure, transparent transactions, exemplified by cryptocurrencies like Bitcoin and Ethereum.
Smart Contracts: These are self-executin...
Detects if a linked list has a cycle using Floyd's Tortoise and Hare algorithm.
Use two pointers: slow and fast. Slow moves one step, fast moves two steps.
If there's a loop, slow and fast will eventually meet.
If fast reaches the end (null), the list has no loop.
Example: For a list 1 -> 2 -> 3 -> 4 -> 2 (cycle), slow and fast meet at 2.
This code snippet counts the frequency of each character in a string using a hash map (dictionary in Python).
Use a hash map (dictionary) to store character counts.
Iterate through each character in the string.
For each character, increment its count in the hash map.
Example: For the string 'hello', the output will be {'h': 1, 'e': 1, 'l': 2, 'o': 1}.
Understanding string pool in Java helps manage memory efficiently and optimize string operations.
String literals are stored in the string pool, which is a special memory area.
When a string is created using a literal, it checks the pool first to see if it exists.
Example: String s1 = "Hello"; String s2 = "Hello"; // s1 and s2 point to the same object in the pool.
Using 'new' keyword creates a new string object in hea...
Exception handling is crucial for managing errors in software applications, ensuring stability and user experience.
Use try-catch blocks to handle exceptions gracefully. Example: try { riskyCode(); } catch (Exception e) { handleError(e); }
Always log exceptions for debugging purposes. Example: logger.error('Error occurred', e);
Avoid using generic exceptions; catch specific exceptions to handle different error types ...
I applied via Campus Placement and was interviewed in May 2019. There were 4 interview rounds.
Encapsulation is the process of hiding implementation details and exposing only necessary information.
Encapsulation helps in achieving data abstraction and information hiding
It prevents unauthorized access to data and protects data from external interference
It allows for easy modification of implementation without affecting the rest of the code
Example: A class in Java with private variables and public methods
Abstraction is a concept of hiding implementation details while interface is a blueprint of a class.
Abstraction is achieved through abstract classes and methods
Interface is a contract that defines the behavior of a class
Abstraction focuses on hiding complexity while interface focuses on providing a common standard
Abstraction can have implementation details while interface cannot
A class can implement multiple interfaces...
Implementation of a linked list
Define a Node class with data and next pointer
Create a LinkedList class with head pointer
Implement methods to add, delete, and traverse nodes
Handle edge cases like empty list or deleting head node
WAP to sort an array using quick sort
Choose a pivot element from the array
Partition the array into two sub-arrays based on the pivot
Recursively sort the sub-arrays
Combine the sorted sub-arrays
A program to find unique characters in a word.
Create an empty array to store unique characters.
Loop through each character in the word.
If the character is not already in the array, add it.
Return the array of unique characters.
I appeared for an interview in Feb 2025.
General awareness, half hour
Line sketch, half n hour.
I appeared for an interview in Sep 2024.
This code snippet counts the frequency of each character in a string using a hash map (dictionary in Python).
Use a hash map (dictionary) to store character counts.
Iterate through each character in the string.
For each character, increment its count in the hash map.
Example: For the string 'hello', the output will be {'h': 1, 'e': 1, 'l': 2, 'o': 1}.
Exception handling is crucial for managing errors in software applications, ensuring stability and user experience.
Use try-catch blocks to handle exceptions gracefully. Example: try { riskyCode(); } catch (Exception e) { handleError(e); }
Always log exceptions for debugging purposes. Example: logger.error('Error occurred', e);
Avoid using generic exceptions; catch specific exceptions to handle different error types appro...
Understanding string pool in Java helps manage memory efficiently and optimize string operations.
String literals are stored in the string pool, which is a special memory area.
When a string is created using a literal, it checks the pool first to see if it exists.
Example: String s1 = "Hello"; String s2 = "Hello"; // s1 and s2 point to the same object in the pool.
Using 'new' keyword creates a new string object in heap mem...
Spring Boot simplifies Spring application development, while microservices enhance scalability and maintainability.
Spring Boot offers auto-configuration, reducing boilerplate code. Example: Setting up a REST API with minimal configuration.
Microservices architecture allows independent deployment of services, enhancing scalability. Example: A user service and an order service can be deployed separately.
Spring provides a ...
Hibernate mapping uses annotations to define entity relationships and transient fields that should not be persisted in the database.
@Entity: Marks a class as a Hibernate entity, representing a table in the database.
@Table: Specifies the table name if it differs from the entity name, e.g., @Table(name = "users").
@Id: Defines the primary key of the entity, e.g., @Id @GeneratedValue(strategy = GenerationType.IDENTITY) for...
Detects if a linked list has a cycle using Floyd's Tortoise and Hare algorithm.
Use two pointers: slow and fast. Slow moves one step, fast moves two steps.
If there's a loop, slow and fast will eventually meet.
If fast reaches the end (null), the list has no loop.
Example: For a list 1 -> 2 -> 3 -> 4 -> 2 (cycle), slow and fast meet at 2.
Yes, I have obtained the AWS Certified DevOps Engineer - Professional certification.
Obtained AWS Certified DevOps Engineer - Professional certification
Certification validates expertise in implementing and managing continuous delivery systems on AWS
Demonstrates ability to automate security controls, governance processes, and compliance validation
I applied via LinkedIn and was interviewed in Dec 2024. There were 4 interview rounds.
QUANT, MATHS, HTML, CSS
DSA WAS ASKED TOGETHER WITH SOME CORE SUBJECT QUESTIONS.
DSA WAS ASKED TOGETHER WITH SOME PUZZLES.
I applied via Walk-in and was interviewed in Oct 2024. There were 3 interview rounds.
Verbal,maths and english
Arrays ,strings and hashmap
I applied via Naukri.com and was interviewed in Sep 2024. There were 3 interview rounds.
I am a data research analyst with a strong background in statistical analysis and data visualization.
Experienced in collecting, analyzing, and interpreting complex data sets
Proficient in statistical software such as R, Python, and SQL
Skilled in creating data visualizations to communicate insights effectively
I applied via Referral and was interviewed in Nov 2024. There was 1 interview round.
Easy and able to clear it, conducted virtually.
Troubleshooting in OTT involves identifying and resolving issues related to streaming services.
Check internet connection and speed
Verify account credentials and subscription status
Clear cache and cookies
Update app or software
Restart device
Contact customer support for further assistance
I use Netflix and Hulu. The main problem I face is occasional buffering issues.
I use Netflix for a wide variety of movies and TV shows.
I use Hulu for current episodes of TV shows.
Occasional buffering issues can disrupt the viewing experience.
I applied via Approached by Company and was interviewed in Oct 2024. There were 2 interview rounds.
Mostly verbal and maths questions.
DDL stands for Data Definition Language and is used to define the structure of database objects. DML stands for Data Manipulation Language and is used to manipulate data within the database.
DDL is used to create, modify, and delete database objects such as tables, indexes, and views
DML is used to insert, update, delete, and retrieve data from the database
Examples of DDL statements include CREATE TABLE, ALTER TABLE, DRO...
Top trending discussions
The duration of TO THE NEW interview process can vary, but typically it takes about less than 2 weeks to complete.
based on 130 interview experiences
Difficulty level
Duration
based on 658 reviews
Rating in categories
Senior Software Engineer
675
salaries
| ₹9 L/yr - ₹28 L/yr |
Software Engineer
595
salaries
| ₹3.5 L/yr - ₹13.9 L/yr |
Associate Technical Leader
238
salaries
| ₹13.5 L/yr - ₹37.2 L/yr |
Senior Quality Engineer
169
salaries
| ₹7 L/yr - ₹22.5 L/yr |
Technical Lead
168
salaries
| ₹18.3 L/yr - ₹45 L/yr |
ITC Infotech
CMS IT Services
KocharTech
Xoriant