i
Sigmoid
Filter interviews by
Clear (1)
Find indices of an element in a non-decreasing array
Iterate through the array and keep track of the indices where the element X is found
Return the list of indices or [-1, -1] if element X is not found
Handle edge cases like empty array or X not present in the array
I applied via Naukri.com and was interviewed in Sep 2024. There was 1 interview round.
SCD stands for Slowly Changing Dimension in Data Warehousing.
SCD is a technique used in data warehousing to track changes to dimension data over time.
There are different types of SCDs - Type 1, Type 2, and Type 3.
Type 1 SCD overwrites old data with new data, Type 2 creates new records for changes, and Type 3 maintains both old and new values in separate columns.
Example: In a customer dimension table, if a customer chan...
inferschema in pyspark is used to automatically infer the schema of a file when reading it.
inferschema is a parameter in pyspark that can be set to true when reading a file to automatically infer the schema based on the data
It is useful when the schema of the file is not known beforehand
Example: df = spark.read.csv('file.csv', header=True, inferSchema=True)
Rank assigns unique ranks to each distinct value, while dense rank assigns ranks without gaps.
Rank function assigns unique ranks to each distinct value in a result set.
Dense rank function assigns ranks to rows in a result set without any gaps between the ranks.
Rank function may skip ranks if there are ties in values, while dense rank will not skip ranks.
Optimizing techniques in Spark involve partitioning, caching, and tuning resources for efficient data processing.
Use partitioning to distribute data evenly across nodes for parallel processing
Cache frequently accessed data in memory to avoid recomputation
Tune resources such as memory allocation and parallelism settings for optimal performance
Repartition is used to increase the number of partitions in a DataFrame, while coalesce is used to decrease the number of partitions.
Repartition involves shuffling data across the network, which can be expensive in terms of performance and resources.
Coalesce is a more efficient operation as it minimizes data movement by only merging existing partitions.
Repartition is typically used when there is a need for more paralle...
Normalization in databases is the process of organizing data in a database to reduce redundancy and improve data integrity.
Normalization is used to eliminate redundant data and ensure data integrity.
It involves breaking down a table into smaller tables and defining relationships between them.
There are different normal forms such as 1NF, 2NF, 3NF, and BCNF.
Normalization helps in reducing data redundancy and improving qu...
Transformation involves changing the data structure, while action involves performing a computation on the data.
Transformation changes the data structure without executing any computation
Action performs a computation on the data and triggers the execution
Examples of transformation include map, filter, and reduce in Spark or Pandas
Examples of action include count, collect, and saveAsTextFile in Spark
Share price related question.most profit
Top trending discussions
posted on 21 Mar 2022
I applied via Naukri.com and was interviewed in Sep 2021. There were 3 interview rounds.
Questions related to cloud types, ADF activities, advanced SQL, and basic OOPs concepts.
Types of cloud include public, private, and hybrid
ADF activities include data ingestion, transformation, and loading
Advanced SQL includes window functions, subqueries, and joins
Basic OOPs concepts include encapsulation, inheritance, and polymorphism
I was interviewed in Jun 2017.
An annotation for controller in software engineering.
The annotation for controller is used to define the class as a controller in a software application.
It is typically used in frameworks like Spring MVC or ASP.NET MVC.
The annotation helps in mapping the incoming requests to the appropriate controller methods.
It can also be used to specify the URL path for the controller.
Example: @Controller in Spring MVC, [ApiControll
The annotation for request mapping is used to map HTTP requests to specific methods in a controller class.
The annotation is @RequestMapping
It can be used at the class level to specify a common base URL for all methods in the class
It can also be used at the method level to specify the URL path and HTTP method for a specific method
Additional attributes can be used to further customize the mapping, such as specifying requ...
Front controller is a design pattern used in Spring MVC to handle incoming requests and route them to appropriate handlers.
Front controller acts as a central point of control for handling requests in Spring MVC.
It receives all incoming requests and delegates them to appropriate handlers called controllers.
Front controller provides a consistent way to handle requests and perform common tasks like authentication, logging...
The CSS box model describes the layout and sizing of elements on a web page.
The box model consists of content, padding, border, and margin.
Content refers to the actual content of the element, such as text or images.
Padding is the space between the content and the border.
Border is a line that surrounds the padding and content.
Margin is the space outside the border, separating the element from other elements.
The width an...
Select all div using jQuery
Use the jQuery selector $('div') to select all div elements
This will return a jQuery object containing all the selected div elements
You can then perform operations on the selected div elements using jQuery methods
Use jQuery to change the background color of all ul elements to blue.
Use the jQuery selector to select all ul elements
Use the css() method to change the background color to blue
Use jQuery to change the background color of the first li element to yellow.
Use the :first-child selector to select the first li element
Use the css() method to change the background color to yellow
The output of the given code is [1, 2, 3, 4, 5, 6].
The 'push' method adds an element to the end of the array.
The 'unshift' method adds an element to the beginning of the array.
The 'pop' method removes the last element from the array.
The 'shift' method removes the first element from the array.
The 'final' keyword in Java is used to declare constants, prevent method overriding, and ensure thread safety.
Final variables cannot be reassigned once initialized
Final methods cannot be overridden by subclasses
Final classes cannot be extended by other classes
Final parameters ensure that they cannot be modified within a method
Final fields can be used to achieve thread safety
The question is about method overloading in Java.
Method overloading allows multiple methods with the same name but different parameters.
The method to be called is determined at compile-time based on the arguments passed.
In the given code, there are three overloaded methods with the same name 'getsum'.
The first method takes two integers as arguments.
The second method takes three integers as arguments.
The third method ta...
The program will result in a StackOverflowError due to infinite recursion.
The 'floating' method is recursively calling itself without a base case to stop the recursion.
Each recursive call multiplies the input parameter by the result of the recursive call with a decremented parameter.
This will continue indefinitely until the stack overflows and an error is thrown.
The output of the code is 9.
The code initializes i as 0 and j as 10.
Inside the do-while loop, i is incremented by 1 and j is decremented by 1.
The loop continues until i becomes greater than or equal to j.
Since i is incremented before the comparison and j is decremented before the comparison, the loop runs 9 times.
Therefore, the output is 9.
I was interviewed before Apr 2021.
Round duration - 60 minutes
Round difficulty - Easy
Technical Interview round with questions on CSS and Jquery mainly.
The CSS box model is a design and layout concept that defines the structure and sizing of elements on a web page.
It consists of content, padding, border, and margin around an element.
Content area is where text and images are displayed.
Padding is the space between the content and the border.
Border is the line that goes around the padding and content.
Margin is the space outside the border.
Example: div { width: 200px; pad...
To select all div elements using jQuery, use the selector $('div').
Use the jQuery selector $('div') to select all div elements on the page.
You can also use the find() method to select div elements within a specific parent element.
To perform actions on the selected div elements, use jQuery methods like css(), text(), or addClass().
You can change the background color of all items in JavaScript by selecting all elements and setting their background color property.
Select all elements using document.querySelectorAll()
Loop through the selected elements and set their style.backgroundColor property
Example: document.querySelectorAll('.item').forEach(item => item.style.backgroundColor = 'blue');
Round duration - 60 minutes
Round difficulty - Easy
Technical Interview round with questions on Java mainly.
The final keyword in Java is used to define constants, prevent method overriding, and make a class immutable.
Final variables cannot be reassigned once initialized
Final methods cannot be overridden in subclasses
Final classes cannot be extended
Front Controller in Spring MVC is a design pattern that handles all requests and acts as a central point of control.
Front Controller is a servlet in Spring MVC that receives all requests and then dispatches them to the appropriate handlers.
It helps in centralizing request handling logic, improving code organization and reducing duplication.
Front Controller can perform tasks like authentication, logging, exception handl...
The annotation for request mapping in Java is @RequestMapping.
@RequestMapping annotation is used to map web requests to specific handler methods in Spring MVC.
It can be applied at class level or method level to specify the URL path that the controller will handle.
You can also specify HTTP request methods, headers, parameters, and more using @RequestMapping.
The annotation used for a controller in Java is @RestController.
Used to define a class as a controller in Spring MVC
Automatically serializes return objects into JSON/XML responses
Equivalent to @Controller + @ResponseBody annotations
Round duration - 30 minutes
Round difficulty - Easy
This was a typical HR round.
Tip 1 : Must do Previously asked Interview as well as Online Test Questions.
Tip 2 : Go through all the previous interview experiences from Codestudio and Leetcode.
Tip 3 : Do at-least 2 good projects and you must know every bit of them.
Tip 1 : Have at-least 2 good projects explained in short with all important points covered.
Tip 2 : Every skill must be mentioned.
Tip 3 : Focus on skills, projects and experiences more.
posted on 7 Jan 2025
I applied via Approached by Company and was interviewed before Jan 2024. There were 3 interview rounds.
Basics of SQL, Python
Experience based questions, SQL and Python
I have worked on projects involving building data pipelines, optimizing data storage, and developing machine learning models.
Built data pipelines using Apache Spark and Airflow
Optimized data storage by implementing partitioning and indexing strategies
Developed machine learning models for predictive analytics
posted on 27 Mar 2024
I applied via Approached by Company and was interviewed in Sep 2023. There were 2 interview rounds.
Use SQL query with subquery to find nth highest salary
Use ORDER BY and LIMIT to get the nth highest salary
Use a subquery to exclude the top n-1 salaries before selecting the nth highest salary
I applied via LinkedIn and was interviewed in Jun 2021. There were 3 interview rounds.
posted on 18 Nov 2022
I applied via Naukri.com and was interviewed before Nov 2021. There were 4 interview rounds.
Language coding test which might be very specific to the proficient for data technologies
based on 3 interviews
Interview experience
based on 2 reviews
Rating in categories
Software Development Engineer II
86
salaries
| ₹0 L/yr - ₹0 L/yr |
Data Scientist
49
salaries
| ₹0 L/yr - ₹0 L/yr |
Data Engineer
49
salaries
| ₹0 L/yr - ₹0 L/yr |
Senior Data Scientist
44
salaries
| ₹0 L/yr - ₹0 L/yr |
Software Development Engineer
37
salaries
| ₹0 L/yr - ₹0 L/yr |
Fractal Analytics
Mu Sigma
Tiger Analytics
LatentView Analytics