Perfect Square Problem | Codewindow.in
Solved in Python import math a=int(input()) b=int(input()) sum =0 for i in range(a+1,b+1): x=math.sqrt(i) if x*x == i: sum +=i print(sum) Join Our Telegram Group Visit our Facebook Page
Solved in Python import math a=int(input()) b=int(input()) sum =0 for i in range(a+1,b+1): x=math.sqrt(i) if x*x == i: sum +=i print(sum) Join Our Telegram Group Visit our Facebook Page
Previous Question A company has launched a new text editor that allows users to enter English letters, numbers and whitespaces only. If a user attempts to enter any other type of character, it is counted as a miss. Given a string of text, write an algorithm to help the developer detect the number of misses
Wipro NLTH Coding Solve | Count the Misses | Codewindow.in Read More »
Previous Question A company has a sales record of N products for M days. The company wishes to know the maximum revenue received from a given product of the N products each day. Write an algorithm to find the highest revenue received each day. InputThe first line of the input consists of two space-separatedIntegers-days (M)
Wipro NLTH Coding Solve | Sales Report | Codewindow.in Read More »
Previous Question You are playing an online game. In the game, a numbers is displayed on the screen. In order to win the game, you have to Count the trailing zeros in the factorial value of the given number. Write an algorithm to count the trailing zeros in the factorial value of the given number.
Wipro NLTH Coding Solve | Online Game | Codewindow.in Read More »
Previous Question An e-commerce website wishes to find the lucky customer who will be eligible for full value cash back. For this purpose, a number N is fed to the system. It will return another number that is calculated by an algorithm. In the algorithm, a sequence is generated, in which each number is the
Wipro NLTH Coding Solve | Lucky Customer | Codewindow.in Read More »
Previous Question Andrew is a stock trader who trades in N selected stocks. He has calculated the relative stock price changes in the N stocks from the previous day stock prices. Now, his lucky number is K, so he wishes to invest in the particular stock that has Kth smallest relative stock value. Write an
Wipro NLTH Coding Solve | Stock Trader | Codewindow.in Read More »
Previous Question An e-commerce company plans to give their customers a discount for the Christmas holiday. The discount will be calculated on the basis of the bill amount of the order placed. The discount amount is the product of the sum of all odd digits and the sum of all even digits of the customer’s
Wipro NLTH Coding Solve | Christmas Discount | Codewindow.in Read More »
Previous Question The manager of a supermarket wants to organize an event in which he will distribute gift hampers to the winners of the event. The manager has planned in such a way that each customer has to pick the product in a pair and each pair has different types of products. Any two customers
Wipro NLTH Coding Solve | Gift Hampers to Winners | Codewindow.in Read More »
Previous Question A company wishes to modify the technique by which tasks in the processing queue are executed. There are N processes with unique IDs from 0 to N-1. Each of these tasks has its own execution time. The company wishes to implement a new algorithm for processing tasks. For this purpose they have identified
Wipro NLTH Coding Solve | Kth Shortest Processing Queue | Codewindow.in Read More »
Previous Question A game company has designed an online lottery game, Bingo. In this game, N number cards are displayed. Each card has a value on it. The value can be negative or positive. The player must choose two cards. To win the game, the product of the values of the two cards must be
Wipro NLTH Coding Solve | Bingo-Online Lottery Game | Codewindow.in Read More »