Hackathon Solutions

Append and Delete

You are give two strings s and t as input. Objective is to convert s into t by using following two operations only:
1. Append a lowercase English alphabetic letter to the end of the string.
2. Delete the last character in the string. Performing this operation on an empty string results in an empty string.
You have to convert s into t by performing exactly K number of operations.

Can we ditch Python for Competitive Coding?

It is the language of choice for fields like Machine Learning, Social Network analysis, Data Analysis, etc. But there is one more thing about Python – It’s Dead Slow. Read ahead to know the reason to ditch python for competitive coding. And it’s so slow that most platforms for competitive coding add a 5x multiplier to their time limits if the problem is submitted in Python. This means that if the time limit they’ve set for C/C++ submissions if 1.2 secs, the time limit for Python would be 6 secs.