Cloud Analogy
10+ Interview Questions and Answers
You are given an array ‘ARR’ of size ‘N’ consisting of distinct elements. Your task is to find the total number of good subsets. A subset is called a good subset when you can rearrange the ele...read more
You are given an infinite supply of coins of each of denominations D = {D0, D1, D2, D3, ...... Dn-1}. You need to figure out the total number of ways W, in which you can make a change fo...read more
Given a singly linked list of integers. Your task is to return the head of the reversed linked list.
For example:
The given linked list is 1 -> 2 -> 3 -> 4-> NULL. Then the reverse linked lis...read more
You have been given an integer array/list 'ARR' of size 'N'. Your task is to return the total number of those subsequences of the array in which all the elements are equal.
A subsequence of a ...read more
Print the following pattern
Pattern for N = 4
The dots represent spaces.
Input Format:
The first line contains a single integer ‘T’ representing the number of test cases. The first line of each tes...read more
In computer science, a semaphore is a variable or abstract data type used to control access to a common resource by multiple processes and avoid critical section problems in a concurrent system such...read more
Q7. Q1. Palindrome numbers in a given range.
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
Q8. Q2. Carry generated in a sum of two numbers.
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.
Q9. Explain Campaigns, Promotions, and Coupons.
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
Q10. Print 1,1.5,2,2.5,3 in an array
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
Q11. What is Global JS.
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.
Q12. Explain clouds and their types
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.
Q13. Explain Sequrity model
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)
Q14. Explain Data modelling
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)
Q15. Write @Wire syntax
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;
Top HR Questions asked in null
Interview Process at null
Top Software Developer Interview Questions from Similar Companies
Reviews
Interviews
Salaries
Users/Month