Filter interviews by
It about python basic question on string manipulation
I applied via Naukri.com and was interviewed in Nov 2024. There were 2 interview rounds.
Initially, I began with a medium-level question on LeetCode regarding the longest unique substring. Following that, I was asked about fundamental concepts in data engineering and two SQL questions: one to find the second highest employee salary and the other to determine the highest marks of students in each section.
here are all the questions
You have a dataset with employees, salaries, bonuses, and departments. How
would you calculate the total compensation for each department while
considering that bonuses are applied only to salaries above $50,000?
second highest sal in each department
select empId, dense_rank() over (partition by department order by salary decs) as rnk from employees_table where rank =2
in a streaming job processing event data, how would you handle late-arriving
data to ensure its included in calculations but doesnt delay real-time insights?"
Write PySpark logic to calculate the daily average sales amount for each product
category from a sales dataset spanning years. Consider that the df contains
'category', 'sales_amount', 'sale_date'
sales_df = sales_df.groupBy("category", sale_date).agg({"avg":"sales_amount"}).withColumnRenamed("avg(sales_amount), "Avg_sales_amount"")
-----/
You have a dataset with employees' salaries, bonuses, and departments. How
would you calculate the total compensation for each department while
considering that bonuses are applied only to salaries above $50,000?
in a streaming job processing event data, how would you handle late-arriving
data to ensure its included in calculations but doesnt delay real-time insights?"
Write PySpark logic to calculate the daily average sales amount for each product
category from a sales dataset spanning years. Consider that the df contains 'category', 'sales_amount', 'sale_date'
A happy number is a number which eventually reaches 1 when replaced by the sum of the square of each digit.
Create a function to determine if a number is happy by repeatedly squaring the digits and summing them until the result is 1 or a cycle is detected.
Use a set to keep track of seen numbers to detect cycles.
Example: For number 19, the process would be 1^2 + 9^2 = 82, 8^2 + 2^2 = 68, 6^2 + 8^2 = 100, 1^2 + 0^2 + 0^2
Transformer architecture is a type of neural network architecture commonly used in natural language processing tasks.
Utilizes self-attention mechanism to weigh the importance of different words in a sentence
Consists of encoder and decoder layers for tasks like machine translation
Introduced by the paper 'Attention is All You Need' by Vaswani et al.
Popular implementations include BERT, GPT, and TransformerXL
I applied via LinkedIn and was interviewed in Feb 2024. There were 2 interview rounds.
Aidetic Software interview questions for popular designations
I applied via Naukri.com and was interviewed in Feb 2024. There were 2 interview rounds.
Asked some List coding questions.
I applied via Job Portal and was interviewed in Mar 2022. There were 3 interview rounds.
DSA
I applied via Referral and was interviewed before Sep 2022. There were 3 interview rounds.
Top trending discussions
I know multiple programming languages including Java, Python, and C++.
Proficient in Java with experience in developing web applications using Spring framework
Familiar with Python for data analysis and machine learning
Experience in C++ for developing high-performance applications
Also familiar with HTML, CSS, and JavaScript for front-end development
Class is a blueprint for creating objects, encapsulation is the process of hiding data and methods within a class.
Class is a template or blueprint that defines the properties and behaviors of an object.
Encapsulation is the process of bundling data and methods together within a class, hiding the internal details from the outside world.
Other features of OOP include inheritance, polymorphism, and abstraction.
Inheritance a...
Program to find the sum of squares of each term of Fibonacci series
Generate Fibonacci series using loop or recursion
Calculate square of each term
Add all squares to get the sum
I would like to join Cognizant because of its reputation as a leading global technology and consulting company.
Cognizant has a strong presence in the industry and is known for its innovative solutions.
I am impressed by Cognizant's commitment to digital transformation and its ability to deliver value to clients.
The company offers excellent career growth opportunities and a supportive work environment.
Cognizant's diverse...
based on 5 interviews
Interview experience
based on 6 reviews
Rating in categories
4-8 Yrs
Not Disclosed
3-5 Yrs
Not Disclosed
Data Scientist
6
salaries
| ₹6 L/yr - ₹14.1 L/yr |
Senior Data Scientist
5
salaries
| ₹18 L/yr - ₹20 L/yr |
Software Developer
4
salaries
| ₹5.5 L/yr - ₹13 L/yr |
Backend Developer
4
salaries
| ₹5.5 L/yr - ₹10.8 L/yr |
QA Engineer
4
salaries
| ₹8 L/yr - ₹10.5 L/yr |
TCS
Infosys
Wipro
HCLTech