Posts

Showing posts with the label techmahindra

Number of trailing zeros in factorial asked in tech mahindra 2022

Image
                        Number of trailing zeros in factorial of a number asked in tech Mahindra 2022 .........................................................................................................................................................................

Remove duplicate characters from a string tech mahindra 2022

Image
                                                             Remove duplicate characters Return a string with non-duplicate characters, ie, if you have a string as metti then output should be mett, keeping the order of characters same. Example 1: Input1: Csharpstarz Output: Csharptz Explanation: On removing duplicate elements from the orignal string Csharpstarz, we Csharptz....... connect with me on Facebook Twitter Instagram Github Youtube   connect with me on Facebook Twitter Instagram Github Youtube

Adams charity tech mahindra 2022

Image
 Adams decided to be generous and do some charity. Starting today from day 1 until n days he decided to donate i^2 coins to charity. Return total coins he donated. connect with me on Facebook Twitter Instagram Github Youtube connect with me on Facebook Twitter Instagram Github Youtube

LCM code tech mahindra 2022

Image
                                                                                LCM CODE ************************************************************************************ connect with me on Facebook Twitter Instagram Github Youtube

Palindrome code tech mahindra march 2022

Image
                                                                     TECH MAHINDRA CODE Palindrome code tech Mahindra march 2022 connect with me on Facebook Twitter Instagram Github Youtube connect with me on Facebook Twitter Instagram Github Youtube