Author name: Admin

Rotate by 90 degree

gfg-potd

Given asquare matrix[][]. The task is to rotate it by 90 degrees in clockwise direction without using any extra space. Examples: Input: mat[][]

796. Rotate String

leetcode-potd

Given two strings s and goal, return true if and only if s can become goal after some number of shifts on s. A shift on s consists of moving the leftmost character of s to the rightmost

Is Linked List Length Even?

gfg-potd

Given a linked list, your task is to complete the function isLengthEven() which contains the head of the linked list, and check whether the length

2490. Circular Sentence

leetcode-potd

A sentence is a list of words that are separated by a single space with no leading or trailing spaces. For example, “Hello World”, “HELLO”, “hello world

Scroll to Top