Tag: data structure
Given an array of n integers where n > 1, nums, return an array output such that output is equal to the product of all the elements of nums …
Write a function to delete a node (except the tail) in a singly linked list, given only access to that node. Supposed the linked list is 1 -> 2 …
Given a string that consists of words (non-space characters count as part of a word), you are required to output the new sentence that reverses the words. For example, …
February 18, 2014
algorithms, beginner, brainfuck, c / c++, code, code library, data structure, implementation, programming languages, string
The problem is from LeetCode Online Judge . The puzzle appears to be the most-favourite interview questions. It asks you to implement an algorithm to check if a given …
The puzzle is from Timus Online Judge. Despite detailed description, which may be confusing, the puzzle is really simple to solve. It asks you to find out the identical …