-
Given an array of integers, find out whether there are two distinct indices i and j in the array such that the absolute diffe...
-
There are a total of n courses you have to take, labeled from 0 to n-1.
Some courses may have prerequisites, for example to t...
-
The demons had captured the princess (P) and imprisoned her in the bottom-right corner of a dungeon. The dungeon consists of ...
-
Given a binary tree, return the postorder traversal of its nodes’ values.
Example:
12345678Input: [1,null,2,3] 1 \ 2...
-
There are N children standing in a line. Each child is assigned a rating value.
You are giving candies to these children subj...
-
Given a reference of a node in a connected undirected graph, return a deep copy (clone) of the graph. Each node in the graph ...
-
Given a 2D board containing 'X' and 'O' (the letter O), capture all regions surrounded by 'X'.
A regi...
-
Given a string S and a string T, count the number of distinct subsequences of S which equals T.
A subsequence of a string is ...
-
Unsupervised Deep Hashing With Adaptive Feature Learning for Image RetrievalNotations:
$I= \lbrace I_{1}, I_{2}, \ldots, I_{n...
-
#Deepface: Closing the gap to human-level performance in face verification
Naive-deep face recognition: Touching the limit of...