All Posts

Page 10 of 25

Crawler Log Folder - minimum number of operations needed to go back to the main folder after the change folder operations.
Replace all spaces in a string with %20
coding-interview

Replace all spaces in a string with %20

Problem Statement Replace all spaces in a string…

Determine if a string has all unique characters
coding-interview

Determine if a string has all unique characters

Problem Implement an algorithm to determine if a…

Valid Palindrome - Leet Code Solution
coding-interview

Valid Palindrome - Leet Code Solution

Problem Statement Given a string, determine if it…

Valid Anagrams - Leet Code Solution
coding-interview

Valid Anagrams - Leet Code Solution

Problem Statement Given two strings s and t…

First Unique Character in a String - Leet Code Solution
coding-interview

First Unique Character in a String - Leet Code Solution

Problem Statement Given a string, find the first…

Reverse String - Leet Code Solution
coding-interview

Reverse String - Leet Code Solution

Problem Statement Write a function that reverses a…

Rotate Image - Leet Code Solution
coding-interview

Rotate Image - Leet Code Solution

Problem Statement You are given an n x n 2D matrix…

Move Zeroes - Leet Code Solution
coding-interview

Move Zeroes - Leet Code Solution

Problem Statement Given an array nums, write a…

Plus One - Leet Code Solution
coding-interview

Plus One - Leet Code Solution

Problem Statement Given a non-empty array of…

Validate Sudoku - Leet Code Solution
coding-interview

Validate Sudoku - Leet Code Solution

Problem Statement Determine if a 9x9 Sudoku board…

Intersection of Two Arrays-II - Leet Code Solution
coding-interview

Intersection of Two Arrays-II - Leet Code Solution

Problem Statement Given two arrays, write a…