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...
Callbacks are functions passed as arguments to other functions, enabling asynchronous programming and event handling.
Callbacks allow functions to be executed after a certain task is completed, e.g., fetching data from an API.
Example: In JavaScript, you can pass a function to handle the response of an asynchronous operation: fetch(url).then(response => callback(response)).
They help manage asynchronous code, maki...
A closure is a function that retains access to its lexical scope, even when executed outside that scope.
Closures allow a function to remember the environment in which it was created.
Example: function outer() { let x = 10; return function inner() { return x; }; } const getX = outer(); getX(); // returns 10
Closures are often used for data encapsulation and creating private variables.
They can help in maintaining stat...
Fail fast is a development philosophy that encourages quick identification and resolution of issues to improve efficiency and innovation.
Encourages rapid prototyping to test ideas quickly, e.g., using MVP (Minimum Viable Product) in startups.
Promotes early detection of bugs in software development, e.g., using automated testing to catch errors during coding.
Supports iterative development, allowing teams to pivot b...
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...
I am excited to join this company for its innovative projects, collaborative culture, and opportunities for professional growth.
The company's commitment to cutting-edge technology aligns with my passion for continuous learning.
I admire the collaborative environment that fosters teamwork and creativity, as seen in your recent project on XYZ.
The opportunity for professional development through mentorship programs is...
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...
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 Jan 2025, where I was asked the following questions.
I streamline my tasks through effective organization, prioritization, and leveraging technology to enhance productivity in a fast-paced environment.
Utilize project management tools like Trello or Asana to track tasks and deadlines, ensuring nothing falls through the cracks.
Implement a daily prioritization routine, identifying the top three tasks that align with organizational goals to focus on each day.
Automate repetit...
In five years, I envision myself as a skilled admin executive, leading projects and enhancing team efficiency through innovative solutions.
I aim to take on leadership roles, guiding junior staff and fostering a collaborative environment.
I plan to enhance my skills in project management, possibly obtaining certifications like PMP.
I want to implement new technologies to streamline administrative processes, improving over...
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.
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 131 interview experiences
Difficulty level
Duration
based on 658 reviews
Rating in categories
Senior Software Engineer
676
salaries
| ₹13.3 L/yr - ₹24 L/yr |
Software Engineer
601
salaries
| ₹4.8 L/yr - ₹11.7 L/yr |
Associate Technical Leader
242
salaries
| ₹21.6 L/yr - ₹36 L/yr |
Devops Engineer
187
salaries
| ₹6 L/yr - ₹12.8 L/yr |
Technical Lead
170
salaries
| ₹28 L/yr - ₹45 L/yr |
ITC Infotech
CMS IT Services
KocharTech
Xoriant