Add office photos
Cloud Analogy logo
Engaged Employer

Cloud Analogy

Verified
3.6
based on 157 Reviews
Filter interviews by
Software Developer
Fresher
Clear (1)

10+ Cloud Analogy Software Developer Interview Questions and Answers

Updated 25 Jul 2024

Q1. Count Good Subsets Problem Statement

Given an array ARR of size N consisting of distinct elements, your task is to determine the total number of good subsets. A subset is considered a good subset if the element...read more

Ans.

Count the total number of good subsets in an array where elements can be rearranged to divide the next element.

  • Iterate through all possible subsets of the array.

  • Check if each subset is a good subset by rearranging elements to divide the next element.

  • Count the number of good subsets and return the total count.

View 1 answer
right arrow

Q2. Ways To Make Coin Change

Given an infinite supply of coins of varying denominations, determine the total number of ways to make change for a specified value using these coins. If it's not possible to make the c...read more

Ans.

The task is to find the total number of ways to make change for a specified value using given denominations.

  • Use dynamic programming to solve this problem efficiently.

  • Create a 2D array to store the number of ways to make change for each value up to the specified value.

  • Iterate through each denomination and update the array accordingly.

  • The final answer will be stored in the last cell of the array.

  • Example: For N=3, D=[1, 2, 3], V=4, the output is 4 as there are 4 ways to make cha...read more

View 2 more answers
right arrow
Cloud Analogy Software Developer Interview Questions and Answers for Freshers
illustration image

Q3. Reverse Linked List Problem Statement

Given a singly linked list of integers, return the head of the reversed linked list.

Example:

Initial linked list: 1 -> 2 -> 3 -> 4 -> NULL
Reversed linked list: 4 -> 3 -> 2...read more
Ans.

Reverse a singly linked list of integers and return the head of the reversed linked list.

  • Iterate through the linked list and reverse the pointers to point to the previous node.

  • Keep track of the current, previous, and next nodes while reversing the linked list.

  • Update the head of the reversed linked list as the last node encountered during reversal.

Add your answer
right arrow

Q4. Count Subsequences Problem Statement

Given an integer array ARR of size N, your task is to find the total number of subsequences in which all elements are equal.

Explanation:

A subsequence of an array is derive...read more

Ans.

The task is to find the total number of subsequences in which all elements are equal in an integer array.

  • Iterate through the array and count the frequency of each element.

  • For each element, calculate the number of subsequences with all elements equal using the formula (frequency * (frequency - 1) / 2).

  • Sum up the counts for all elements and return the result modulo 10^9 + 7.

Add your answer
right arrow
Discover Cloud Analogy interview dos and don'ts from real experiences

Q5. Star Pattern Generation

Develop a function to print star patterns based on the given number of rows 'N'. Each row in the pattern should follow the format demonstrated in the example.

The picture illustrates an ...read more

Ans.

Function to print star patterns based on the given number of rows 'N'.

  • Iterate through each row from 1 to N

  • For each row, print spaces (N-row) followed by stars (2*row-1)

  • Repeat until all rows are printed

Add your answer
right arrow

Q6. Q1. Palindrome numbers in a given range.

Ans.

A program to find palindrome numbers in a given range.

  • Iterate through the given range of numbers

  • Convert each number to a string and check if it is equal to its reverse

  • If yes, add it to the list of palindrome numbers

Add your answer
right arrow
Are these interview questions helpful?

Q7. Q2. Carry generated in a sum of two numbers.

Ans.

Carry is generated when the sum of two digits is greater than 9.

  • Carry is a digit that is carried over to the next place value in the sum.

  • For example, in the sum 56 + 78, the carry generated is 1 (5+7=12, carry 1, 6+8+1=15).

  • Carry is important in addition of large numbers and in binary addition.

Add your answer
right arrow

Q8. Explain Campaigns, Promotions, and Coupons.

Ans.

Campaigns, Promotions, and Coupons are marketing strategies used to attract customers and increase sales.

  • Campaigns are strategic marketing efforts to promote a product or service over a specific period of time.

  • Promotions are temporary incentives offered to customers to encourage purchases, such as discounts or free gifts.

  • Coupons are vouchers that entitle the holder to a discount on a particular product or service.

  • Examples: Black Friday campaign, Buy One Get One Free promotion...read more

Add your answer
right arrow
Share interview questions and help millions of jobseekers 🌟
man with laptop

Q9. Print 1,1.5,2,2.5,3 in an array

Ans.

Create an array of strings containing 1, 1.5, 2, 2.5, 3

  • Initialize an array of strings

  • Add the numbers 1, 1.5, 2, 2.5, 3 as strings to the array

Add your answer
right arrow

Q10. What is Global JS.

Ans.

Global JS refers to JavaScript variables or functions that are accessible from anywhere in the code.

  • Global JS variables are declared outside of any function and can be accessed from any part of the code.

  • Global JS functions are defined without being enclosed within another function and can be called from anywhere in the code.

  • Using global variables or functions can lead to potential conflicts and security risks.

Add your answer
right arrow

Q11. Explain clouds and their types

Ans.

Clouds are visible masses of water droplets or ice crystals suspended in the atmosphere.

  • Clouds are classified based on their altitude, shape, and appearance.

  • Types of clouds include cirrus, cumulus, stratus, and nimbus.

  • High-level clouds are found at altitudes above 20,000 feet, while low-level clouds are below 6,500 feet.

  • Clouds can also be classified as convective, stratiform, or cumulonimbus.

Add your answer
right arrow

Q12. Explain Sequrity model

Ans.

Security model refers to the framework that defines how security is implemented in a system or application.

  • Security model determines who can access what resources and under what conditions

  • It includes authentication, authorization, encryption, and auditing

  • Examples of security models include discretionary access control (DAC), mandatory access control (MAC), and role-based access control (RBAC)

Add your answer
right arrow

Q13. Explain Data modelling

Ans.

Data modelling is the process of creating a visual representation of data and its relationships within a system.

  • Identifying entities and their attributes

  • Defining relationships between entities

  • Creating a schema to represent the data

  • Normalization to reduce redundancy

  • Example: Entity-Relationship Diagram (ERD)

Add your answer
right arrow

Q14. Write @Wire syntax

Ans.

Annotation used in Java to inject dependencies

  • @Wire annotation is used in Java to inject dependencies

  • It is typically used in frameworks like Dagger or ButterKnife

  • Example: @Wire TextView textView;

Add your answer
right arrow
Contribute & help others!
Write a review
Write a review
Share interview
Share interview
Contribute salary
Contribute salary
Add office photos
Add office photos

Interview Process at Cloud Analogy Software Developer

based on 4 interviews
1 Interview rounds
Coding Test Round
View more
interview tips and stories logo
Interview Tips & Stories
Ace your next interview with expert advice and inspiring stories

Top Software Developer Interview Questions from Similar Companies

SAP Logo
4.2
 • 122 Interview Questions
Adobe Logo
3.9
 • 67 Interview Questions
Cisco Logo
4.1
 • 50 Interview Questions
Practo Logo
3.2
 • 35 Interview Questions
Dell Logo
4.0
 • 19 Interview Questions
 UST Logo
3.8
 • 16 Interview Questions
View all
Recently Viewed
LIST OF COMPANIES
Credit Bajaar
Overview
PHOTOS
InsuranceDekho
3 office photos
INTERVIEWS
Cloud Analogy
No Interviews
INTERVIEWS
Cloud Analogy
No Interviews
CAMPUS PLACEMENT
SRM university (SRMU)
LIST OF COMPANIES
Discover companies
Find best workplace
INTERVIEWS
Cloud Analogy
No Interviews
INTERVIEWS
Cloud Analogy
No Interviews
INTERVIEWS
Bechtel
No Interviews
INTERVIEWS
GlobalLogic
No Interviews
Share an Interview
Stay ahead in your career. Get AmbitionBox app
play-icon
play-icon
qr-code
Helping over 1 Crore job seekers every month in choosing their right fit company
75 Lakh+

Reviews

5 Lakh+

Interviews

4 Crore+

Salaries

1 Cr+

Users/Month

Contribute to help millions

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