Add office photos
Engaged Employer

ShareChat

3.7
based on 577 Reviews
Filter interviews by

40+ Cadila Pharmaceuticals Interview Questions and Answers

Updated 17 Nov 2024
Q1. Find Square root of an integer

You are given an integer ‘A’. Your task is to find the greatest non-negative integer whose square is less than or equal to ‘A’.

Square of a number is the product of the number with...read more

View 3 more answers
Q2. Aggressive Cows

Given an array of length ‘N’, where each element denotes the position of a stall. Now you have ‘N’ stalls and an integer ‘K’ which denotes the number of cows that are aggressive. To prevent the c...read more

Ans.

The problem is to assign aggressive cows to stalls in a way that maximizes the minimum distance between any two cows.

  • Sort the array of stall positions in ascending order.

  • Use binary search to find the largest minimum distance between cows.

  • Check if it is possible to assign cows with this minimum distance by iterating through the sorted array.

  • If it is possible, update the maximum distance and continue binary search for a larger minimum distance.

  • If it is not possible, continue bi...read more

View 3 more answers
Q3. Flood Fill Algorithm

Ninja has found his new passion for photography. He has clicked some really good photos but in one of his images, he doesn’t like the color of a particular region. So, he decides to change t...read more

Ans.

The Flood Fill Algorithm is used to change the color of a particular region in an image and all its adjacent same-colored pixels.

  • The image is represented as a 2D array of positive integers

  • The starting pixel and new color are given

  • Adjacent pixels are connected in up, down, left, or right directions

  • Diagonal pixels are not considered adjacent

  • Implement the Flood Fill Algorithm to replace the color of the given pixel and its adjacent same-colored pixels with the new color

  • Repeat th...read more

View 3 more answers
Q4. Find the minimum element in a sorted and rotated array

You're given a sorted array that has now been rotated 'K' times, which is unknown to you. Rotation here means that every element is shifted from its positio...read more

View 3 more answers
Discover Cadila Pharmaceuticals interview dos and don'ts from real experiences
Q5. Network Delay Time

You have been given a network of ‘N’ nodes from 1 to ‘N’ and ‘M’ edges. For each edge, you are given three values (ui, vi, wi) where “ui” and “vi” denote the nodes and “wi” denotes an integer ...read more

Add your answer
Q6. Next Greater Element

For a given array/list of integers of size N, print the Next Greater Element(NGE) for every element. The Next Greater Element for an element X is the first element on the right side of X in ...read more

Ans.

The task is to find the next greater element for each element in the given array.

  • Iterate through the array from right to left.

  • Use a stack to keep track of the elements that are greater than the current element.

  • For each element, pop elements from the stack until a greater element is found or the stack is empty.

  • If a greater element is found, it is the next greater element for the current element.

  • If the stack becomes empty, there is no greater element to the right.

  • Store the next...read more

View 3 more answers
Are these interview questions helpful?
Q7. Saving Money

Ninja likes to travel a lot, but at the same time, he wants to save as much money as possible. There are ‘N’ Stations connected by ‘M’ Trains. Each train that he boards starts from station ‘A’ and r...read more

View 3 more answers
Q8. Flip Bit to Win

Ninjas are often known for their stealth execution and accuracy to get the job done right. While honing their art of moving through dense forests stealthily, they need the maximum number of conti...read more

View 2 more answers
Share interview questions and help millions of jobseekers 🌟
Q9. PostFix To Prefix

Ninja has been given a Postfix expression and he needs your help in converting it to Prefix expression.

Postfix expression is an expression where the operator appears in the expression after th...read more

Add your answer
Q10. Kruskal’s Minimum Spanning Tree Algorithm

You have been given a connected undirected weighted graph. Your task is to find the weight of the minimum spanning tree of the given graph.

A minimum spanning tree is a ...read more

Ans.

The task is to find the weight of the minimum spanning tree of a given connected undirected weighted graph.

  • Implement Kruskal's algorithm to find the minimum spanning tree

  • Use a disjoint set data structure to keep track of connected components

  • Sort the edges in non-decreasing order of their weights

  • Iterate through the sorted edges and add them to the minimum spanning tree if they don't create a cycle

  • Return the sum of weights of the edges in the minimum spanning tree

View 2 more answers
Q11. Merge Sort

Given a sequence of numbers ‘ARR’. Your task is to return a sorted sequence of ‘ARR’ in non-descending order with help of the merge sort algorithm.

Example :

Merge Sort Algorithm - Merge sort is a Div...read more
Ans.

The task is to implement the merge sort algorithm to sort a given sequence of numbers in non-descending order.

  • Merge sort is a divide and conquer algorithm that recursively divides the input array into two halves until the size becomes 1.

  • Then it merges the two sorted halves to produce a single sorted array.

  • The time complexity of merge sort is O(n log n), where n is the size of the input array.

  • The algorithm is efficient for large data sets and guarantees a stable sort.

  • The imple...read more

View 2 more answers
Q12. Dice Throws

You are given D dice, each having F faces numbered 1 to F, both inclusive. The task is to find the possible number of ways to roll the dice together such that the sum of face-up numbers equal the giv...read more

View 4 more answers
Q13. Safe Nodes In The Graph

Ninja has been given a matrix/list 'EDGES' denoting 'E' edges of a directed graph having ‘N’ nodes. Ninja starts walking from some node (say ‘START’) in the graph along a directed edge of...read more

View 2 more answers

Q14. Find average n days retention for all users given the user ID, date and activity table. Also another table with the date of joining for each user.

Ans.

Calculate the average n days retention for all users given their user ID, date, activity table, and a table with the date of joining for each user.

  • Join the activity table with the user table using the user ID

  • Calculate the number of days between the date of joining and the activity date

  • Filter out the activities that occurred after n days

  • Calculate the average retention for all users

View 1 answer
Q15. Web Development based Question

What are promises in javascript , What is component lifecycle in ReactJS, What is the difference between Library and Framework, What is redux and what is middleware ?

Ans.

Promises are a way to handle asynchronous operations in JavaScript. Component lifecycle in ReactJS refers to the different stages a component goes through. A library is a collection of pre-written code that provides specific functionality, while a framework is a set of tools and guidelines for building applications. Redux is a state management library for JavaScript applications, and middleware is a function that sits between an action and a reducer in Redux.

  • Promises in JavaS...read more

View 1 answer

Q16. Find nth item without using limit and rank Remove duplicates from combination of two columns, so A1 A2 a b b a Given two columns, remove duplicates for any combination. So the above would be duplicates.

Ans.

To remove duplicates from two columns, use DISTINCT keyword in SELECT statement.

  • Use SELECT DISTINCT to retrieve unique combinations of two columns.

  • Combine the two columns using CONCAT function before applying DISTINCT.

  • Example: SELECT DISTINCT CONCAT(column1, column2) FROM table_name;

Add your answer

Q17. 25 horses, find 5 fastest horses, with the constraint that you're only allowed to race 5 horses at a time.

Ans.

Race 5 horses at a time to find the 5 fastest horses out of 25.

  • Divide the horses into 5 groups of 5 horses each.

  • Race all the horses in each group and note down the timings.

  • The top 3 horses from each group move to the next round.

  • Race all the horses that made it to the next round and note down the timings.

  • The top 2 horses from this round move to the final round.

  • Race these 2 horses and the fastest one is the winner.

  • The top 5 horses from all the rounds are the fastest horses.

Add your answer
Q18. Javascript based Question

The question was to print numbers from 1 to 10 , with each number printing asynchronously after 1 second , using Javascript.

Ans.

Print numbers from 1 to 10 asynchronously with a 1-second delay using JavaScript.

  • Use a loop to iterate from 1 to 10.

  • Inside the loop, use setTimeout() to delay the printing of each number.

  • Increment the delay time by 1000 milliseconds for each iteration.

  • Print the number inside the setTimeout() callback function.

View 1 answer

Q19. Estimate the number of airplanes in the Indian sky at noon?

Ans.

It is impossible to estimate the exact number of airplanes in the Indian sky at noon.

  • The number of airplanes in the sky at any given time is constantly changing.

  • Factors such as flight schedules, delays, cancellations, and weather conditions can affect the number of airplanes in the sky.

  • There are also different types of airplanes, such as commercial, private, and military, which may have different flight patterns and schedules.

  • Without access to real-time flight data, it is imp...read more

Add your answer

Q20. How could you use hashtags on Sharechat to drive engagement?

Ans.

Hashtags can be used on Sharechat to drive engagement by categorizing content, increasing discoverability, and encouraging user participation.

  • Create branded hashtags to promote campaigns and encourage user-generated content

  • Use popular and relevant hashtags to increase discoverability and reach

  • Encourage users to use hashtags in their posts and engage with others using the same hashtags

  • Monitor hashtag performance and adjust strategy accordingly

Add your answer

Q21. What is the amount of the proposals that has been sent

Add your answer

Q22. How Will take brand on next level in our Taritory

Ans.

We will take the brand to the next level by implementing innovative marketing strategies and expanding our distribution network.

  • Developing targeted marketing campaigns to reach new customers

  • Partnering with key influencers to increase brand awareness

  • Expanding our distribution network to reach more customers in remote areas

  • Investing in research and development to improve our products and stay ahead of the competition

Add your answer

Q23. Difference between mobile and web app testing

Ans.

Mobile app testing involves testing applications on mobile devices, while web app testing involves testing applications on web browsers.

  • Mobile app testing includes testing on various mobile devices with different screen sizes and operating systems.

  • Web app testing focuses on compatibility with different web browsers and screen resolutions.

  • Mobile app testing may involve testing for offline functionality and push notifications.

  • Web app testing may involve testing for cross-browse...read more

Add your answer

Q24. Negative test cases for money transaction

Ans.

Negative test cases for money transaction

  • Transaction amount exceeds account balance

  • Invalid account number provided

  • Transaction fails due to network issues

  • Transaction is blocked due to suspicious activity

Add your answer

Q25. Design a camera for the elderly.

Ans.

A camera designed for the elderly with easy-to-use features and large buttons.

  • Large buttons for easy navigation

  • Simple interface with limited options

  • Lightweight and easy to hold

  • Built-in flash for low-light situations

  • Option to print photos directly from the camera

Add your answer

Q26. What is an user Experience Designer job? What is the difference between User Experience and User Interface

Ans.

A User Experience Designer job involves creating intuitive and user-friendly digital experiences. User Experience focuses on the overall experience, while User Interface focuses on the visual aspects.

  • User Experience Designer focuses on creating intuitive and user-friendly digital experiences for users.

  • User Experience involves understanding user needs, conducting research, creating wireframes, and testing designs.

  • User Interface Designer focuses on the visual aspects of a digit...read more

Add your answer

Q27. path and query parameter in api testing

Ans.

Path and query parameters are essential in API testing for specifying resource paths and filtering data.

  • Path parameters are part of the endpoint URL and are used to identify a specific resource.

  • Query parameters are added to the URL after a '?' and are used for filtering, sorting, or pagination.

  • Example: Path parameter - /users/{id}, Query parameter - /users?role=admin

  • Testing path parameters involves verifying that the correct resource is returned based on the parameter value.

  • T...read more

Add your answer

Q28. why ViewModel is necessary, how does it save state

Ans.

ViewModel is necessary in Android development to save and manage UI-related data during configuration changes.

  • ViewModel helps in retaining data during configuration changes like screen rotations

  • It separates UI-related data from UI controller (Activity/Fragment)

  • ViewModel survives configuration changes and can be shared between fragments

  • It helps in maintaining data consistency and prevents memory leaks

  • ViewModel is lifecycle-aware and can be used to store and manage complex data...read more

Add your answer

Q29. You have to make a flow chart of prize distribution process

Ans.

A flow chart for prize distribution process

  • Identify the criteria for winning the prize

  • Determine the number of winners and their respective prizes

  • Prepare the prize distribution schedule

  • Arrange for the prizes to be delivered or collected by the winners

  • Verify the eligibility of the winners before awarding the prizes

Add your answer

Q30. Previous Role. Why audio platform to Video

Ans.

I wanted to expand my skills and knowledge in the multimedia industry.

  • Audio platform was a great starting point for me to learn about sound engineering and production.

  • However, I realized that video is becoming more and more prevalent in today's media landscape.

  • I wanted to challenge myself and learn about video production and editing to broaden my skill set.

  • By transitioning to video, I am able to apply my existing audio knowledge while also learning new skills.

  • This allows me t...read more

Add your answer

Q31. Which DB is the best choice

Ans.

There is no one-size-fits-all answer to which DB is the best choice, as it depends on the specific requirements of the project.

  • Consider the type of data being stored (structured, unstructured, etc.)

  • Evaluate the scalability and performance needs of the project

  • Take into account the budget and resources available for maintenance and support

  • Look at the existing technology stack and compatibility with other systems

  • Consider the level of expertise within the team for a particular DB...read more

Add your answer

Q32. error codes in api testing

Ans.

Error codes in API testing are used to identify and communicate specific issues or problems that occur during the testing process.

  • Error codes help testers understand the root cause of failures in API calls

  • They provide a standardized way to communicate errors to developers and stakeholders

  • Examples of error codes include 400 Bad Request, 401 Unauthorized, 404 Not Found, etc.

Add your answer

Q33. Creating feed of fb with ads integrated

Ans.

Integrate ads into Facebook feed for monetization

  • Utilize Facebook Audience Network for ad integration

  • Implement native ads for seamless user experience

  • Use targeting options to display relevant ads to users

Add your answer

Q34. The things which can make sharechat better etc

Ans.

Improving ShareChat

  • Enhancing user interface for better user experience

  • Introducing new features like video calling and group chats

  • Improving content moderation to ensure safety and prevent misinformation

  • Expanding user base by targeting new demographics and regions

  • Partnering with brands and influencers for monetization opportunities

Add your answer

Q35. How much revenue did you generate

Ans.

I generated over $5 million in revenue through strategic sales initiatives and client relationships.

  • Implemented targeted sales campaigns resulting in a 20% increase in revenue

  • Negotiated key contracts with major clients leading to a significant boost in sales

  • Utilized data analytics to identify new market opportunities and drive revenue growth

Add your answer

Q36. How would you design Uber for blind

Ans.

Designing Uber for blind would involve implementing features like voice-guided navigation, tactile feedback, and accessible interfaces.

  • Implement voice-guided navigation to provide step-by-step directions to the blind user.

  • Include tactile feedback in the app to help users locate their ride or confirm their location.

  • Design accessible interfaces with high contrast colors, large fonts, and screen reader compatibility.

  • Offer alternative communication methods such as text-to-speech ...read more

Add your answer

Q37. Total revenue target achievement in an year

Add your answer

Q38. Improve linkedin suggestions for mentors and mentees

Ans.

Utilize AI algorithms to analyze user behavior and preferences to suggest relevant mentors and mentees on LinkedIn.

  • Implement machine learning models to analyze user interactions and preferences

  • Leverage natural language processing to understand user profiles and interests

  • Consider factors such as industry, skills, location, and experience for accurate suggestions

  • Allow users to provide feedback on suggested mentors/mentees to improve future recommendations

Add your answer

Q39. Find number in sorted rotated array

Ans.

Find a given number in a sorted rotated array.

  • Use binary search to find the pivot point where the array is rotated.

  • Determine which half of the array the target number may be in.

  • Perform binary search on the appropriate half of the array to find the target number.

Add your answer

Q40. Why to sherechat coin selling

Ans.

To ensure a safe and secure platform for buyers and sellers.

  • To prevent fraud and scams in the marketplace

  • To protect the reputation of the company and build trust with customers

  • To comply with regulations and maintain a legal and ethical business environment

View 1 answer

Q41. What is marketing What's important to sales

Ans.

Marketing is the process of promoting and selling products or services.

  • Identifying target audience

  • Creating a marketing strategy

  • Advertising and promoting the product/service

  • Building brand awareness

  • Generating leads and sales

  • Analyzing market trends and competition

  • Customer relationship management

  • Measuring ROI

  • Examples: TV commercials, social media ads, email marketing, influencer marketing

Add your answer

Q42. Design an analytics system

Ans.

Designing an analytics system for data analysis and visualization

  • Define the goals and objectives of the analytics system

  • Identify the data sources and types of data to be collected

  • Choose appropriate tools and technologies for data processing and analysis

  • Design a data model and architecture for storing and accessing data

  • Implement data visualization techniques for presenting insights to users

Add your answer

Q43. Find the row with maximum number of 1's

Ans.

Find the row with maximum number of 1's in a matrix

  • Iterate through each row of the matrix

  • Count the number of 1's in each row

  • Track the row with maximum number of 1's

Add your answer

Q44. Find square root of integer

Ans.

Use binary search to find the square root of an integer.

  • Start with low=0 and high=x.

  • While low<=high, calculate mid=(low+high)/2.

  • If mid*mid==x, return mid.

  • If mid*mid

  • If mid*mid>x, set high=mid-1.

  • Return high as the floor of the square root.

Add your answer

Q45. tell about event loop.

Ans.

Event loop is a mechanism in programming that allows for asynchronous execution of code by continuously checking for and handling events.

  • Event loop is commonly used in JavaScript to handle asynchronous operations.

  • It allows for non-blocking I/O operations by delegating tasks to the operating system.

  • Event loop continuously checks the event queue for any pending events and executes them in a sequential manner.

  • Example: In Node.js, the event loop allows for handling multiple concu...read more

Add your answer

Q46. Minimum cut problem

Ans.

Minimum cut problem involves finding the minimum number of edges that must be removed to disconnect a graph.

  • The minimum cut problem is typically solved using algorithms like Karger's algorithm or Ford-Fulkerson algorithm.

  • The result of the minimum cut problem is a partition of the graph into two sets of vertices.

  • The minimum cut problem is often used in network flow optimization and graph theory.

  • Example: In a network of cities connected by roads, the minimum cut problem can hel...read more

Add your answer

Q47. Detect loop in linked list

Ans.

Use Floyd's Tortoise and Hare algorithm to detect loop in linked list.

  • Initialize two pointers, slow and fast, at the head of the linked list.

  • Move slow pointer by one step and fast pointer by two steps.

  • If they meet at any point, there is a loop in the linked list.

Add your answer

Q48. Share chat support Chatroom

Ans.

Chat support chatroom is a platform where customers can interact with support agents in real-time.

  • Chat support chatroom allows customers to ask questions and receive immediate assistance.

  • Support agents can handle multiple customer inquiries simultaneously in a chatroom.

  • Chat support chatroom can be integrated with AI chatbots to provide automated responses.

  • Customers can also share files, screenshots, and other relevant information in the chatroom for better assistance.

Add your answer

Q49. Previous Work Exp.

Ans.

I have 5 years of experience working in HR roles, including recruitment, employee relations, and performance management.

  • Recruitment experience includes sourcing candidates, conducting interviews, and making job offers.

  • Employee relations experience involves resolving conflicts, conducting investigations, and providing coaching to managers.

  • Performance management experience includes setting goals, conducting performance reviews, and implementing development plans.

Add your answer

More about working at ShareChat

#3 Best Tech Startup - 2022
Contribute & help others!
Write a review
Share interview
Contribute salary
Add office photos

Interview Process at Cadila Pharmaceuticals

based on 33 interviews in the last 1 year
Interview experience
4.2
Good
View more
Interview Tips & Stories
Ace your next interview with expert advice and inspiring stories

Top Interview Questions from Similar Companies

3.3
 • 300 Interview Questions
4.2
 • 199 Interview Questions
4.2
 • 157 Interview Questions
4.1
 • 154 Interview Questions
4.2
 • 147 Interview Questions
4.3
 • 130 Interview Questions
View all
Top ShareChat Interview Questions And Answers
Share an Interview
Stay ahead in your career. Get AmbitionBox app
qr-code
Helping over 1 Crore job seekers every month in choosing their right fit company
70 Lakh+

Reviews

5 Lakh+

Interviews

4 Crore+

Salaries

1 Cr+

Users/Month

Contribute to help millions
Get AmbitionBox app

Made with ❤️ in India. Trademarks belong to their respective owners. All rights reserved © 2024 Info Edge (India) Ltd.

Follow us
  • Youtube
  • Instagram
  • LinkedIn
  • Facebook
  • Twitter