C TCS CodeVita1 Min Read LetuscrackonJune 10, 2024 Stone Game – Remove Last – TCS CodeVita Alice and Bob are playing a game called “Stone Game”. Stone game is a two-player game. Let N be the total number of stones. In…
Python1 Min Read LetuscrackonJune 10, 2024 Remove the odd numbers A number N is passed as input. The program must remove all the odd digits in the passed number and display the number. If there are no…
Python1 Min Read LetuscrackonJune 10, 2024 Remove First K Even Digits The program must accept N integers and an integer K as the input. The program must remove the first K even digits among the digits of N…
Python1 Min Read LetuscrackonJune 9, 2024 Reverse and remove letters in vowel positions Sharon does not like vowels. So she wants to remove vowels from any string. But her friend Jennie loves vowels and wants to retain vowels in…
C Java Python2 Min Read LetuscrackonJune 8, 2024 Reduce Array – Remove Odd The program must accept an array of N even integers as the input. The program must print the output based on the following…
Python1 Min Read LetuscrackonJune 8, 2024 Remove characters occurring multiple times A string S is passed as the input. The program must remove all characters which appear more than once. If all the characters in a string are…
Python1 Min Read LetuscrackonJune 7, 2024 Remove Edges – Except Parallel Edges There are N nodes in a directed graph. The program must accept the adjacency matrix of the directed graph as the input. If there are…
Python1 Min Read LetuscrackonJune 7, 2024 Sum – Remove Last Occurring Zero The program must accept N integers as the input. For each integer X among the N integers, the program must remove the last…