## Data Structure and Algorithms in Doodles

She designed a graphic book explaining concepts like Data Structures and Algorithms Credits: Tomomi Imura

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

### Off-campus hiring September 2021

### ThoughtsWorks – Women Graduate Engineer Hiring Challenge

### Data Structure and Algorithms in Doodles

### Uber – Software Engineer I – Backend (Earnings Platform) – Amsterdam

### EPAM India – Hiring Registration Form – For 2020 Engineering Graduates

### Zalando – Interview Questions

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

### Evaluate String Expression Java | InFix Expression Evaluation Java

### Goldman Sachs – Summer Analyst Internship

### Mobiveil Technologies – Graduate Engineering Trainee

# Category: Data Structure

## Data Structure and Algorithms in Doodles

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

## Evaluate String Expression Java | InFix Expression Evaluation Java

## Two Sum – LeetCode

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

## Two sum problem | Solution

## Implement custom Array List in Java

## Max Area of Island | Leetcode 695

## Leetcode – 164. Maximum Gap

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

Monday, September 27, 2021

She designed a graphic book explaining concepts like Data Structures and Algorithms Credits: Tomomi Imura

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

Evaluate an expression represented by a StringThe expression can contain parentheses, you can assume parentheses are well-matched. For simplicity, you can assume only binary operations allowed are +, -, *, … 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

Custom Dynamic Array class in Java

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