
Ixigo.com

10+ Ixigo.com Interview Questions and Answers
Q1. Life cycle methods in react js, explain context API, advantages and disadvantages of context API, how is redux different from context API, different optimization techniques in react js, what are core web vitals...
read moreQuestions related to React JS, optimization techniques, core web vitals, and webpack.
React JS life cycle methods include componentDidMount, componentDidUpdate, and componentWillUnmount.
Context API is used for sharing data between components without passing props down the component tree.
Advantages of Context API include avoiding prop drilling and making it easier to manage global state.
Disadvantages of Context API include potential performance issues and difficulty with testin...read more
Q2. Find Duplicates in an Array
Given an array ARR
of size 'N', where each integer is in the range from 0 to N - 1, identify all elements that appear more than once.
Return the duplicate elements in any order. If n...read more
Find duplicates in an array of integers within a specified range.
Iterate through the array and keep track of the count of each element using a hashmap.
Return elements with count greater than 1 as duplicates.
Handle edge cases like empty array or no duplicates found.
Example: For input [0, 3, 1, 2, 3], output should be [3].
Q3. puzzles: find the fastest 3 horses in 25 horse race with a race and 5 horses can be run at a time
Divide the 25 horses into 5 groups of 5 horses each, race them, then race the winners to determine the fastest 3 horses.
Divide the 25 horses into 5 groups of 5 horses each and race them.
Identify the top horse from each group.
Race the top horses to determine the fastest 3 horses.
Q4. in a BST two numbers are swapped find swapped nos.
To find swapped numbers in a BST, perform inorder traversal and keep track of previous node.
Perform inorder traversal of the BST
Keep track of the previous node while traversing
If at any point, the current node's value is less than the previous node's value, those are the swapped numbers
Q5. Techniques to optimise list rendering? List virtualisation
List virtualisation optimises rendering by only rendering items that are currently visible on the screen.
Use virtual scrolling to render only the visible items in a list
Implement windowing techniques to dynamically load and unload items as the user scrolls
Utilize libraries like React Virtualized or Angular CDK Virtual Scroll for efficient list rendering
A 10x10 cube has 600 edges.
A cube has 12 edges, so a 10x10 cube would have 12 edges on each of its 6 faces.
12 edges x 6 faces = 72 edges for the entire cube.
However, each edge is shared by two faces, so we need to divide by 2 to get the total number of unique edges.
72 edges / 2 = 36 unique edges on the outer surface of the cube.
Since the cube has 10x10x10 = 1000 unit cubes, each with 12 edges, we need to subtract the edges on the inner cubes.
1000 unit cubes x 12 edges = 12000...read more
Q7. difference between pseudo elements and pseudo classes
Pseudo elements are used to style specific parts of an element, while pseudo classes are used to style an element based on its state or position.
Pseudo elements are denoted by :: before the element name, like ::before or ::after
Pseudo classes are denoted by a single colon before the class name, like :hover or :active
Pseudo elements are used to style parts of an element that do not exist in the DOM, like adding content before or after an element
Pseudo classes are used to style...read more
Q8. to find the kth minimum element from BST
To find the kth minimum element from a Binary Search Tree (BST)
Perform an in-order traversal of the BST to get elements in sorted order
Return the kth element from the sorted list
Time complexity: O(n) where n is the number of nodes in the BST
Designing a caching library involves considering data storage, retrieval, expiration policies, and cache invalidation strategies.
Define the caching requirements such as data size, access patterns, and expiration policies.
Choose a suitable data structure for caching like LRU, LFU, or a simple key-value store.
Implement cache eviction policies to handle memory constraints and optimize performance.
Consider thread safety and concurrency control to prevent race conditions.
Include f...read more
Q10. Design a login sdk for an app from scrath handling all the possible edge cases
Design a login SDK for an app handling all edge cases
Implement secure password hashing and encryption
Handle network errors and timeouts gracefully
Include multi-factor authentication options
Support various authentication methods like biometrics
Handle account lockouts and password resets
Q11. Difference between inline and block elements
Inline elements do not start on a new line and only take up as much width as necessary, while block elements start on a new line and take up the full width available.
Inline elements do not force a new line to start and only take up as much width as necessary (e.g. <span>, <a>, <strong>).
Block elements always start on a new line and take up the full width available (e.g. <div>, <p>, <h1>).
Inline elements can have margin and padding applied horizontally but not vertically.
Block...read more
Q12. Tell us about the Technical Knowledge you have about Linux and Networking.
I have extensive technical knowledge in Linux and Networking, including experience with system administration, network configuration, and troubleshooting.
Proficient in Linux operating systems such as Ubuntu, CentOS, and Red Hat
Experience with network protocols such as TCP/IP, DNS, DHCP, and VPN
Skilled in configuring routers, switches, firewalls, and other network devices
Knowledge of security practices and tools for securing networks and systems
Familiar with virtualization tec...read more
Q13. Data structure used to create a dictionary
Hash table is commonly used data structure to create a dictionary.
Hash table is efficient for fast lookups and insertions.
Keys are hashed to generate an index where the value is stored.
Examples: Python dictionaries, Java HashMap, C++ unordered_map.
Q14. Create a counter component with button to start and stop timer every second and reset button.
Create a counter component with start, stop, and reset buttons for a timer.
Create a state variable to store the current count
Use setInterval to increment the count every second when the timer is started
Add buttons to start, stop, and reset the timer
Implement functions for starting, stopping, and resetting the timer
Q15. Types of primitives in JS
Primitives in JS are data types that are not objects and are immutable.
Types of primitives in JS include string, number, boolean, null, undefined, and symbol.
Primitives are passed by value, not by reference.
Examples: 'hello' (string), 42 (number), true (boolean), null, undefined, Symbol('foo')
Q16. Assumptions of Linear regression? Randonforesrt? information gain?
Assumptions and characteristics of linear regression, random forest, and information gain.
Assumptions of linear regression include linearity, independence, homoscedasticity, and normality of residuals.
Random forest is an ensemble learning method that builds multiple decision trees and merges them together to improve performance.
Information gain is a measure used in decision trees to determine the relevance of a feature by calculating the reduction in entropy or impurity.
Q17. How to design uber
Designing Uber involves creating a platform for on-demand transportation services.
Develop a user-friendly mobile app for customers to request rides
Implement a driver app for drivers to accept ride requests and navigate to pick-up locations
Build a backend system to match drivers with riders based on location and availability
Incorporate a payment system for seamless transactions
Include features like real-time tracking, ratings, and reviews for both drivers and riders
Q18. implement a queue using stack
Implement a queue using stack
Use two stacks to simulate a queue
For enqueue operation, push elements to stack1
For dequeue operation, if stack2 is empty, pop all elements from stack1 to stack2 and then pop from stack2
Ensure to handle edge cases like empty queue
Q19. Last 2nd Highest salary in sql
To find the last 2nd highest salary in SQL, use a subquery with the MAX function.
Use a subquery to find the maximum salary excluding the highest salary
Select the maximum salary from the result of the subquery
Interview Process at Ixigo.com

Top Interview Questions from Similar Companies








Reviews
Interviews
Salaries
Users/Month

