till then solve this question If we list all the natural numbers below 10that are multiples of 3 or5 , we get 3,5,6 and9 . The sum of these multiples is .23
Find the sum of all the multiples of 3 or5 below .
Input Format
First line contains that denotes the number of test cases. This is followed by lines, each containing an integer, .
Constraints
Output Format
For each test case, print an integer that denotes the sum of all the multiples of 3 or 5 below N .
Find the sum of all the multiples of 3 or5 below .
Input Format
First line contains that denotes the number of test cases. This is followed by lines, each containing an integer, .
Constraints
Output Format
For each test case, print an integer that denotes the sum of all the multiples of 3 or 5 below N .
Mind blown after their programming questions literally headache after the level of question
Forwarded from Aman Raj
There are 2xN comedians and M audience member in a comedy show. The first N comedians are male and the last N are female. In a comedy show, all the comics gets one slot to perform their act. The slots are alloted randomly and any allocation is equaly probable.
$1
Each of the comdedians has a humour level given by the array A. The charge of each comedian is given by the array B.
Q
Each of the audience member has a tolerance level given by array C and seriousness level given by array D. The gender of the members given by the array E where E[i] = 1 denotes that member is male and E[i] = 2 denotes that member is female.
Q2
A comic of same gender as an audience member will make that member laugh if there have been atleast c[i] comics before them of the same gender such that their humour level is more than D[i] of that member.
Q3
A comic of opposite gender as an audience member will make that member laugh if there have been atleast C[i] comics before them of the same gender of the comic such that their humour level is more than the 2xD[i] of that member.
Q4
BLIC
ER
If a member laughs, then they have to pay that comedian B[i] coins
What is the expected sum of amount that all the comedians will earn in a single show. Express the expected sum
as an irreducible fraction u/v, then you have to find the value of uxvยน mod 10"+7.
Problem Constraints
1 <= N<= 105
1 <= M <= 105
1 <= A[i] <= 109
1 <= B[i] <= 109
1 <= C[i] <= N
$1
Each of the comdedians has a humour level given by the array A. The charge of each comedian is given by the array B.
Q
Each of the audience member has a tolerance level given by array C and seriousness level given by array D. The gender of the members given by the array E where E[i] = 1 denotes that member is male and E[i] = 2 denotes that member is female.
Q2
A comic of same gender as an audience member will make that member laugh if there have been atleast c[i] comics before them of the same gender such that their humour level is more than D[i] of that member.
Q3
A comic of opposite gender as an audience member will make that member laugh if there have been atleast C[i] comics before them of the same gender of the comic such that their humour level is more than the 2xD[i] of that member.
Q4
BLIC
ER
If a member laughs, then they have to pay that comedian B[i] coins
What is the expected sum of amount that all the comedians will earn in a single show. Express the expected sum
as an irreducible fraction u/v, then you have to find the value of uxvยน mod 10"+7.
Problem Constraints
1 <= N<= 105
1 <= M <= 105
1 <= A[i] <= 109
1 <= B[i] <= 109
1 <= C[i] <= N
Forwarded from Aman Raj
Longest Odd Pallindromes
Flag Question
Problem Description
Given a string $(consisting of only lower case characters) and Q queries.
In each query you will given an integer i and your task is to find the length of longest odd palindromic substring whose middle index is i.
Q 2
Note:
1) Assume 1 based indexing.
Q3
2.) Longest odd palindrome: A palindrome substring whose length is odd.
Q4
Problem Constraints
Input Format
First argument A is string S.
Second argument B is an array of integers where Bi] denotes the query index of ith query.
BLIC
ER
Flag Question
Problem Description
Given a string $(consisting of only lower case characters) and Q queries.
In each query you will given an integer i and your task is to find the length of longest odd palindromic substring whose middle index is i.
Q 2
Note:
1) Assume 1 based indexing.
Q3
2.) Longest odd palindrome: A palindrome substring whose length is odd.
Q4
Problem Constraints
Input Format
First argument A is string S.
Second argument B is an array of integers where Bi] denotes the query index of ith query.
BLIC
ER
Forwarded from Aman Raj
And The Bits
Problem Description
You are given an array of integers A and many queries in the form of a 2-D integer array B. In each query, you are given 4 integers 11, r1, 12, 12. These integers represent two ranges, one that goes from 11 to r1 and another goes from 12 to 12. You need to return the bitwise XOR of element-wise bitwise AND of integers in these two ranges. That is, first do bitwise AND of all integers in 11 to r1, let's call it x1. similarly do it for 12 to 12 and we get x2. Now, the answer for this query would be x1 XOR x2. Return an integer array with the ith index containing the answer for the ith query.
Q2
Q
Q
BLIC
ER
Problem Constraints
1 <= A size() <= 1e5
1<-A] <1e9
1<= B.size() <= 165
1- B(0), B(1), B02), B03) <= A.size()
Input Format
First argument is the integer array A Second argument is the 2-D integer array B.
Output Format
Return a single integer array as per the given problem.
Problem Description
You are given an array of integers A and many queries in the form of a 2-D integer array B. In each query, you are given 4 integers 11, r1, 12, 12. These integers represent two ranges, one that goes from 11 to r1 and another goes from 12 to 12. You need to return the bitwise XOR of element-wise bitwise AND of integers in these two ranges. That is, first do bitwise AND of all integers in 11 to r1, let's call it x1. similarly do it for 12 to 12 and we get x2. Now, the answer for this query would be x1 XOR x2. Return an integer array with the ith index containing the answer for the ith query.
Q2
Q
Q
BLIC
ER
Problem Constraints
1 <= A size() <= 1e5
1<-A] <1e9
1<= B.size() <= 165
1- B(0), B(1), B02), B03) <= A.size()
Input Format
First argument is the integer array A Second argument is the 2-D integer array B.
Output Format
Return a single integer array as per the given problem.
Forwarded from Aman Raj
Beautiful Numbers in a Range
S1
Problem Description
Flag Question
Q1
A number is beautiful if the xor sum of the digits of the number is strictly greater than the average of the minimum and maximum digit of the number. Given A and B, find the count of beautiful numbers in the range [A, B]. Since the answer can be very large, output the remainder after dividing the answer by 109+7
Q 2
Note: The xor sum of the digits of a number is the bitwise XOR of all its digits.
Q3
Q4
BLIC
ER!
Problem Constraints
1 <= A <= B <= 10ยน
Input Format
First argument A is a number in form of a string. Second argument B is a number in form of a string.
Output Format
Return an integer
S1
Problem Description
Flag Question
Q1
A number is beautiful if the xor sum of the digits of the number is strictly greater than the average of the minimum and maximum digit of the number. Given A and B, find the count of beautiful numbers in the range [A, B]. Since the answer can be very large, output the remainder after dividing the answer by 109+7
Q 2
Note: The xor sum of the digits of a number is the bitwise XOR of all its digits.
Q3
Q4
BLIC
ER!
Problem Constraints
1 <= A <= B <= 10ยน
Input Format
First argument A is a number in form of a string. Second argument B is a number in form of a string.
Output Format
Return an integer
No answer on Google so please do by self ๐๐ after completion i checked on Google
If you are facing issues with sts please download intellij
Tomorrow in lab i will explain how to do program if you have any doubts in intellij
Tomorrow in lab i will explain how to do program if you have any doubts in intellij
Manifestation is necessary for Positivity & High Spirit.
Leave no time to think- Might this not happen?
& By the time you see a failure manifestation would take you to another level and end you there without pains.
Be Positive. Remain away from negative vibes (people who see anything Impossible) as man better knows his value and manifests according to self assessment of his own weight.
Manifestation is necessary for a smile deep within. Confidence in self is necessary for it. Being negative means need of psychotherapy and in this era nearly 80% of population is full of negativity of one kind or the other. Half assume its impossible and half see you as a crack.
Negativity persists. Stay away.
If you want to see advantage of manifestation- Deeply assess politicians near by your universe.
Failure is a sense of us. Nothing is a failure actually but its an experience gained to attempt in another way.
Manifestation is because of 'Sun' and if your Sun is shining- You are a conqueror of tomorrow!
Keep Manifesting. Be Happy.
DIMSTRI Psychotherapy.
Coming Soon.
๐๐๐
Leave no time to think- Might this not happen?
& By the time you see a failure manifestation would take you to another level and end you there without pains.
Be Positive. Remain away from negative vibes (people who see anything Impossible) as man better knows his value and manifests according to self assessment of his own weight.
Manifestation is necessary for a smile deep within. Confidence in self is necessary for it. Being negative means need of psychotherapy and in this era nearly 80% of population is full of negativity of one kind or the other. Half assume its impossible and half see you as a crack.
Negativity persists. Stay away.
If you want to see advantage of manifestation- Deeply assess politicians near by your universe.
Failure is a sense of us. Nothing is a failure actually but its an experience gained to attempt in another way.
Manifestation is because of 'Sun' and if your Sun is shining- You are a conqueror of tomorrow!
Keep Manifesting. Be Happy.
DIMSTRI Psychotherapy.
Coming Soon.
๐๐๐
Q1.) what is the Buisness requirement of the application?
Q2.) what is your technical plan to implement the buisness requirements?
Q3.) what are the concepts required to implement the requirement?
Q4.) what technologies we use to implementation requirement?
Q5.) what is the real-time purpose of the project?
Q6.) what is the archietecture otf the project & explain it ?
Q7.) Explain MVC archietecture?
Q8.) what logic you will write in presentation-layer?
Q9.) what logic you will write in Buisness-layer?
Q10.) what logic you will write in database-layer?
Q11.) what is the purpose of presentation-layer?
Q12.) what is the purpose of Buisness-layer?
Q13.) what is the purpose of Repository-layer?
Q14.) How many types of files required to implement the project?
Q15.) what are the tools used to implement the project?
Q16.) why we have used spring-boot & Spring-data-jpa , explain features of spring-boot?
Q17.) explain the execution flow of the project & draw block-diagram?
Q18.) how you will trouble-shoot if any exceptioon/error raised?
Q19.) challenges faced to fullfill the requirements ?
Q20.) which database will be using to implement the project?
Q2.) what is your technical plan to implement the buisness requirements?
Q3.) what are the concepts required to implement the requirement?
Q4.) what technologies we use to implementation requirement?
Q5.) what is the real-time purpose of the project?
Q6.) what is the archietecture otf the project & explain it ?
Q7.) Explain MVC archietecture?
Q8.) what logic you will write in presentation-layer?
Q9.) what logic you will write in Buisness-layer?
Q10.) what logic you will write in database-layer?
Q11.) what is the purpose of presentation-layer?
Q12.) what is the purpose of Buisness-layer?
Q13.) what is the purpose of Repository-layer?
Q14.) How many types of files required to implement the project?
Q15.) what are the tools used to implement the project?
Q16.) why we have used spring-boot & Spring-data-jpa , explain features of spring-boot?
Q17.) explain the execution flow of the project & draw block-diagram?
Q18.) how you will trouble-shoot if any exceptioon/error raised?
Q19.) challenges faced to fullfill the requirements ?
Q20.) which database will be using to implement the project?
Opening for Software Developers
Hey,
Zoho Corporation is looking for Software Developers
https://careers.zohocorp.com/jobs/Careers/2803000614929615/Software-Developers?source=CareerSite
MUST APPLY ( TAMILNADU REGION )
Hey,
Zoho Corporation is looking for Software Developers
https://careers.zohocorp.com/jobs/Careers/2803000614929615/Software-Developers?source=CareerSite
MUST APPLY ( TAMILNADU REGION )