Intersection of Two Arrays-II - Leet Code Solution
Problem Statement Given two arrays, write a function to compute their…
September 05, 2018
Algorithms | Data Structures | Concepts |
---|---|---|
Breadth First Search (BFS) | Linked Lists | Bit Manipulation |
Depth First Search (DFS) | Binary Trees | Single Design Pattern |
Binary Search | Tries | Factory Design pattern |
Merge Sort | Stacks | Memory (Heap, Stack) |
Quick Sort | Queues | Recursion |
Trees Insert, find, delete etc | ArrayList, Vectors | Complexity, Big-O Notation |
Hash Table |
Power off 2 | Value | Value Name | MB, GB,... |
---|---|---|---|
6 | 64 | ||
7 | 128 | ||
8 | 256 | ||
10 | 1024 | One Thousand | 1 KB |
16 | 65,536 | 64 KB | |
20 | 1048,536 | 1 million | 1 MB |
30 | 1073,741,824 | 1 billion | 1 GB |
32 | 4294,967,296 | 4 GB | |
40 | 1099,511,627,776 | 1 trillion | 1 TB |
Problem Statement Given two arrays, write a function to compute their…
Counting sort runs on relatively smaller set of input. Counting sort calculates…
Here are some tips while giving your coding interviews. 1. Never try to jump to…
Its a kind of incremental insertion technique, where the algorithm build up…
This is kind of preliminary technique of sorting. And, this is the first…
** Inversion There is an array(a) and two indexes i and j. Inversion is the…
Introduction In this post we will see following: How to schedule a job on cron…
Introduction There are some cases, where I need another git repository while…
Introduction In this post, we will see how to fetch multiple credentials and…
Introduction I have an automation script, that I want to run on different…
Introduction I had to write a CICD system for one of our project. I had to…
Introduction Java log4j has many ways to initialize and append the desired…