life is too short for a diary

Most popular

Upvote next

Apply Discount To Prices leetcode solution

A sentence is a string of single-space separated words where each word can contain digits, lowercase letters, and the dollar sign ‘$’. A word represents a price if it is a sequence of digits preceded by a dollar sign...

Continue reading → Tags : leetcode java python string

Playing Rise of Tomb Raider

I am an ardent fan of Tomb Raider game series. I grew up falling in love with Tomb Raider III. Much time swept away since I have tried any other game of this series. So finally I decided to try my hands on Rise of Tomb Raider. ..

Continue reading → Tags : game

Sort Characters By Frequency solution leetcode

Given a string s, sort it in decreasing order based on the frequency of the characters. The frequency of a character is the number of times it appears in the string...

Continue reading → Tags : leetcode java python heap