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 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 Dynamic Programming2 Min Read LetuscrackonJune 10, 2024 N Queens – Fill Remaining In a N*N square chessboard, Q queens are placed in Q continuous rows so that they do not attack each other. The program must accept…
C Dynamic Programming1 Min Read LetuscrackonJune 10, 2024 Divine Divisors The program must accept N integers as the input. For each integer X among the N integers, the program must print all the…
C Dynamic Programming1 Min Read LetuscrackonJune 10, 2024 Codu and Sum Love Given N number of x‘s, perform logic equivalent of the below Java code and print the output. Boundary Condition(s):1…
C Dynamic Programming1 Min Read LetuscrackonJune 10, 2024 Browsing Center Computers In a browsing center, the owner accepts the next day’s browsing slot booking from N customers via internet. Each browsing slot…
C Dynamic Programming1 Min Read LetuscrackonJune 10, 2024 Minimum Jumps to Reach End There are N stones arranged in a row. Each stone has a positive value, which indicates the maximum number of stones a person can…
Dynamic Programming Python1 Min Read LetuscrackonJune 10, 2024 Palindromic Partition The program must accept a string S as the input. The program must print the minimum number of cuts required so that all the…
Dynamic Programming Java1 Min Read LetuscrackonJune 10, 2024 Longest Palindromic Substring The program must accept a string S as the input. The program must print the length of longest palindromic substring in the string S…