AQAbolarinwa Quadriinboffinbee.hashnode.dev·Sep 25, 2022 · 2 min read#I4G10DaysOfCodeChallenge - Day 5Question LeetCode problem 451. Sort Characters By Frequency 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.Return the sorted strin...00
AQAbolarinwa Quadriinboffinbee.hashnode.dev·Sep 24, 2022 · 1 min read#I4G10DaysOfCodeChallenge - Day 4Question Attempting the LeetCode problem 1114. Print in Order Suppose we have a class: public class Foo { public void first() { print("first"); } public void second() { print("second"); } public void third() { print("third"); } } The same inst...00
AQAbolarinwa Quadriinboffinbee.hashnode.dev·Sep 23, 2022 · 2 min read#I4G10DaysOfCodeChallenge - Day 3Question Attempting the LeetCode problem 9. Palindrome Number Given an integer x, return true if x is palindrome integer.An integer is a palindrome when it reads the same backward as forward. Hopefully, this solution is as easy as the question looks...00
AQAbolarinwa Quadriinboffinbee.hashnode.dev·Sep 22, 2022 · 2 min read#I4G10DaysOfCodeChallenge - Day 2Question Attempting the LeetCode problem 27. Remove Element Given an integer array nums and an integer val, remove all occurrences of val in nums in-place. The relative order of the elements may be changed.Since it is impossible to change the length...00
AQAbolarinwa Quadriinboffinbee.hashnode.dev·Sep 21, 2022 · 2 min read#I4G10DaysOfCodeChallenge - Day 1Question Attempting the LeetCode problem 26. Remove Duplicates from Sorted Array This particular problem requires that you remove duplicates from an array in-place. The problem can be approached in several ways but I'd highlight two of those, the sh...00