Keep Learning and Share Knowledge

Latest Posts

Problem Statement Given a Binary tree, print out nodes in level order traversal from left to right. Approach-1 Use BFS (Breadth First Search…

Problem Statement Given an array nums of n integers and an integer target, are there elements a, b, c, and d in nums such that a + b + c + d…

Problem Statement Write a function that reverses a string. The input string is given as an array of characters char[]. Do not allocate extra…

Problem Statement You are given an n x n 2D matrix representing an image, rotate the image by 90 degrees (clockwise). You have to rotate the…

Problem Statement Given an array nums, write a function to move all 0’s to the end of it while maintaining the relative order of the non…