## LeetCode 1366. Rank Teams by Votes – Java

Problem Statement In a special ranking system, each voter gives a rank from highest to lowest to all teams participating in the competition. The ordering of teams is decided by … Read More

Skip to content
#### Latest

### Off-campus hiring – July 2021 – Freshers

### How to automatically read OTP using API in Selenium | Automation of OTP in RPA

### Grab – Female Freshers – Software Engineer

### System Design Interview Questions – 7 steps guide to ace your interview!

### Installing WordPress on AWS Free Tier

### Software Engineer – Info Edge

### 5 books for becoming a better Software Engineer

### Zookeeper is not a recognized option

### Installing Apache Kafka on Mac

### LeetCode 1366. Rank Teams by Votes – Java

### When to use Columnar databases?

### 1235. Maximum Profit in Job Scheduling – Solution – Java

### Opportunity for freshers!

### Intern (Technical-Engineering)

### Hiring Freshers – November – 2021

# Category: Leetcode

## LeetCode 1366. Rank Teams by Votes – Java

## 1235. Maximum Profit in Job Scheduling – Solution – Java

## 735. Asteroid Collision – Leetcode – Java – Explanation

## Two Sum – LeetCode

## Best Time to Buy and Sell Stock – LeetCode – Solution

## Two sum problem | Solution

## Max Area of Island | Leetcode 695

## Leetcode – 164. Maximum Gap

## Print binary tree in zigzag order | 103. Binary Tree Zigzag Level Order Traversal Leetcode

## 14. Longest Common Prefix

Monday, January 24, 2022

Problem Statement In a special ranking system, each voter gives a rank from highest to lowest to all teams participating in the competition. The ordering of teams is decided by … Read More

We have n jobs, where every job is scheduled to be done from startTime[i] to endTime[i], obtaining a profit of profit[i]. You’re given the startTime, endTime and profit arrays, return the maximum profit you can take such that there are no … Read More

Problem statement We are given an array asteroids of integers representing asteroids in a row. For each asteroid, the absolute value represents its size, and the sign represents its direction (positive meaning … Read More

1. Two Sum 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 have exactly one solution, and … Read More

121. Best Time to Buy and Sell Stock – Solution You are given an array prices where prices[i] is the price of a given stock on the ith day. You want to maximize your profit by … 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

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

Write a program to print ZigZag order traversal of a binary tree. For the below binary tree the zigzag order traversal will be 1 3 2 4 5 6 7. Given … Read More

Write a function to find the longest common prefix string amongst an array of strings. If there is no common prefix, return an empty string “”. Example 1: Input: strs = … Read More