LetuscrackonJune 10, 2024 Finding Sum – TCS CodeVita The program must accept N integers and an integer P as the input. The program must print the number of subsets of…
C Java Python TCS CodeVita3 Min Read LetuscrackonJune 10, 2024 Collecting Candies – TCS CodeVita Krishna loves candies a lot, so whenever he gets them, he stores them so that he can eat them later whenever he wants to. He has recently…
C Dynamic Programming Python TCS CodeVita2 Min Read LetuscrackonJune 10, 2024 Square Free Numbers – TCS CodeVita The program must accept an integer N as the input. The program must print the number of square free numbers that divide the given…
C Dynamic Programming TCS CodeVita1 Min Read LetuscrackonJune 10, 2024 Uncertain Steps – TCS CodeVita Uncertain Steps: Codu is trying to go down stairs from his building to ground floor. He can go 3 ways.1) Walk 1 step at a time.2) Extend his…
C Java Python TCS CodeVita2 Min Read LetuscrackonJune 10, 2024 kth largest factor of N – TCS CodeVita A positive integer d is said to be a factor of another positive integer N if when N is divided by d, the remainder obtained is zero. For…
C Java Python TCS CodeVita3 Min Read LetuscrackonJune 10, 2024 Counting Rock Samples – TCS CodeVita Juan Marquinho is a geologist and he needs to count rock samples in order to send it to a chemical laboratory. He has a problem: The…
C Java Python TCS CodeVita2 Min Read LetuscrackonJune 10, 2024 Bank Compare – TCS CodeVita There are two banks – Bank A and Bank B. Their interest rates vary. You have received offers from both banks in terms of the annual rate of…
C Java Python TCS CodeVita2 Min Read LetuscrackonJune 10, 2024 Consecutive Prime Sum – TCS CodeVita Some prime numbers can be expressed as a sum of other consecutive prime numbers. For example 5 = 2 + 3, 17 = 2 + 3 + 5 + 7, 41 = 2 + 3 + 5 + 7…