Ben Pereira

Ben Pereira @bendlmp

About: I'm a ninja from multiverse that aims to share coding knowledge for everyone!

Joined:
Aug 18, 2023

Ben Pereira
articles - 53 total

LeetCode — 3264. Final Array State After K Multiplication Operations I

It’s an easy problem with the description being: You are given an integer array nums, an integer k,...

Learn More 0 0Jul 7

LeetCode — 2373. Largest Local Values in a Matrix

This is an easy problem with the description being: You are given an n x n integer matrix...

Learn More 0 0Jun 6

LeetCode — 2824. Count Pairs Whose Sum is Less than Target

It’s an easy problem with the description being: Given a 0-indexed integer array nums of length n...

Learn More 0 0May 30

LeetCode — 2798. Number of Employees Who Met the Target

It’s an easy problem with description being: There are n employees in a company, numbered from 0 to...

Learn More 0 0May 29

LeetCode — 3467. Transform Array by Parity

This is an easy problem with the description being: You are given an integer array nums. Transform...

Learn More 1 0May 28

LeetCode — 2161. Partition Array According to Given Pivot

This is a medium problem with the description being: You are given a 0-indexed integer array nums...

Learn More 0 0May 26

Singleton

At first glance, on the software world, singleton its’ a design pattern that means one unique...

Learn More 0 2Apr 13

LeetCode — 2807. Insert Greatest Common Divisors in Linked List

It’s a medium problem with the description being: Given the head of a linked list head, in which...

Learn More 0 0Feb 24

Leetcode — 1486. XOR Operation in an Array

It’s an easy problem with description being: You are given an integer n and an integer...

Learn More 0 1Jan 31

Leetcode — 3146. Permutation Difference between Two Strings

It’s an easy problem with description being: You are given two strings s and t such that every...

Learn More 0 0Jan 17

Leetcode — 2942. Find Words Containing Character

It’s an easy problem with description being: You are given a 0-indexed array of strings words and a...

Learn More 0 0Jan 7

Leetcode — 3280. Convert Date to Binary

It’s an easy problem with description being: You are given a string date representing a Gregorian...

Learn More 0 0Jan 5

Leetcode — 3289. The Two Sneaky Numbers of Digitville

It’s an easy problem with description being: In the town of Digitville, there was a list of numbers...

Learn More 0 0Jan 2

Leetcode — 3190. Find Minimum Operations to Make All Elements Divisible by Three

This is an easy problem with description being: You are given an integer array nums. In one...

Learn More 2 0Dec 19 '24

Leetcode — 2769. Find the Maximum Achievable Number

This is an easy problem with description being: Given two integers, num and t. A number is...

Learn More 0 0Dec 5 '24

Leetcode — Top Interview 150–125. Valid Palindrome

It’s an easy problem with description being: A phrase is a palindrome if, after converting all...

Learn More 0 0Nov 13 '24

Leetcode — Top Interview 150–121. Best Time to Buy and Sell Stock

It’s an easy problem with the description being: You are given an array prices where prices[i] is...

Learn More 0 0Nov 12 '24

Introduction to jOOQ

jooq.org states that jOOQ generates Java code from your database and lets you build type safe SQL...

Learn More 0 0Nov 4 '24

Leetcode — Top Interview 150–169. Majority Element

It’s an easy problem with the description being: Given an array nums of size n, return the majority...

Learn More 1 1Nov 3 '24

Leetcode — Top Interview 150 — Remove Element

It’s an easy problem that consists in: Given an integer array nums and an integer val, remove all...

Learn More 0 0Nov 2 '24

Leetcode — 3110. Score of a String

It’s an easy problem from leet code with the description being: You are given a string s. The score...

Learn More 0 0Nov 2 '24

Leet Code 75–746. Min Cost Climbing Stairs

It’s an easy problem from leet code 75 with the description being: You are given an integer array...

Learn More 0 0Oct 21 '23

SQL 50–1068. Product Sales Analysis I

It’s an Leet Code easy problem from SQL 50 with the description being: Table:...

Learn More 0 0Oct 2 '23

SQL 50–1378. Replace Employee ID With The Unique Identifier

It’s an easy problem from SQL 50 with the description being: Table:...

Learn More 0 0Sep 25 '23

SQL 50–1683. Invalid Tweets

It’s an easy problem from SQL 50 with the description being: Table:...

Learn More 0 0Sep 22 '23

SQL 50–1148. Article Views I

It’s an easy problem from SQL 50 with the description being: Table:...

Learn More 0 0Sep 21 '23

SQL 50–595. Big Countries

It’s an easy problem with description being: Table: World +-------------+---------+ | Column Name...

Learn More 0 0Sep 19 '23

SQL 50–584. Find Customer Referee

It’s an easy problem part of the SQL 50 interview plan that states: Table:...

Learn More 0 0Sep 19 '23

Leet Code 75–933. Number of Recent Calls

This is an easy problem from Leet Code 75 with the description being: You have a RecentCounter...

Learn More 0 0Sep 16 '23

Leet Code 75–2215. Find the Difference of Two Arrays

It’s an easy problem with the description being: Given two 0-indexed integer arrays nums1 and...

Learn More 0 0Sep 14 '23