C1 Min Read LetuscrackonJune 10, 2024 C – Heap – ExtractMax An array of N integers is passed as input. Fill in the missing lines of code to implement the extractMax function to sort in…
Python1 Min Read LetuscrackonJune 10, 2024 Sum – Unit Digit 3 or 6 The program must accept N integers as the input. The program must print the sum of integers having the unit digit as 3 or 6 as the…
C1 Min Read LetuscrackonJune 10, 2024 C – Structure Pointer – Bill A bill has a price list for N items. A 10% Discount is given if the total price is greater than Rs. 2000. Fill in the missing lines of code to…
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…
Python2 Min Read LetuscrackonJune 10, 2024 Sort Messages – Chronological Order The program must accept N messages shared between the two persons A and B in a single day (from 00:00:00 to…
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…
Python1 Min Read LetuscrackonJune 10, 2024 String – Print till char A string S is passed as input along with a character C. The program must print the string value S till C is reached. Input Format:The first…
C Java JavaScript Python2 Min Read LetuscrackonJune 10, 2024 Xth Rank – Students The name and score of N students in a test are passed as input to the program. Also, an integer X is passed as input to…
C1 Min Read LetuscrackonJune 10, 2024 Unit Digit – Ascending and Descending The program must accept two integers as the input. The program must sort the two integers in ascending order based on their unit digit and…