Two sum problem | Solution
Problem: Two Sum | LeetCode Given an array of integers nums and an integer target, return indices of the two numbers such that they add up to target. You may assume that each input would … Read More
Problem: Two Sum | LeetCode Given an array of integers nums and an integer target, return indices of the two numbers such that they add up to target. You may assume that each input would … Read More
Custom Dynamic Array class in Java
Whenever I run any code, my console always ends with Process finished with exit code 0. Solution: It means that there is no error with your code. You have run it … Read More
I had this error “Process finished with exit code 0” when starting spring-boot application from IntelliJ-Idea. I don’t have this problem when running the application through the terminal. Solution 1 … Read More
Microservices Architecture is very popular, in-demand as they are scalable. From an experienced engineer, it’s expect to know microservice design. In the interview, companies ask microservices interview questions to check … Read More
You are given an m x n binary matrix grid. An island is a group of 1‘s (representing land) connected 4-directionally (horizontal or vertical.) You may assume all four edges of the grid are surrounded by … Read More
Given an integer array nums, return the maximum difference between two successive elements in their sorted form. If the array contains less than two elements, return 0. You must write an algorithm that … Read More
Prime Game Rax, a school student, was bored at home in the pandemic. He wanted to play but there was no one to play with. He was doing some mathematics … Read More
Virus Outbreak (100 Marks) In the Martian land faraway, a new virus has evolved and is attacking the individuals at a fast pace. The scientists have figured out the virus composition, … Read More
@CodeDaily discussed Walmart’s hiring procedure (interview questions) with Garima to help out our readers. Thanks, Garima for taking your time and explaining the procedure, it would be helpful to our … Read More