Photo by Thomas Peham on Unsplash

There are two types of logs:

  • Letter-logs: All words (except the identifier) consist of lowercase English letters.
  • Digit-logs: All words (except the identifier) consist of digits.

Reorder these logs so that:

  1. The letter-logs come before all digit-logs.
  2. The letter-logs
Photo by Djim Loic on Unsplash
  • TimeMap() Initializes the object of the data structure.
  • void set(String key, String value, int timestamp) Stores the key…
Photo by Joshua Hoehne on Unsplash

Jaydeep

Full Stack Programmer, love to solve problem’s during free time.

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store