Applied through online carees and was sent an Online Assessment.
- Min number of deletions to make distinct char count in a string
Used a charcount heap to solve this.
- Given a string of file inputs with 5 columsn name, date, permissions , created by find max time stamp of a file which was created by admin, and having executable permission.
String parsing to collect list of dates, sort descending and return first element. Didn't get to test it as C# was not supported
- Max distinct path in a tree.
Used recursion to solve this. BUt few test cases failing.
Didn't get enough time to fix the questions. But wish could make to Onsite.
For all the questions, I was close to solution but not all test cases passed for any of them. Not sure if I can make to onsite.
Any users who attended Online screen, please comment.