Showing 20 of 5865 from page 1

## Grid Challenge

Given a square grid of characters in the range ascii a z , rearrange elements of each row alphabetically, ascending. Determine if the columns are also in ascending alphabetical order, top to bottom. R

tikev39 posted in #python #codingchallenge

## Advent of Code day 3 Part 1 and part 2 (Python)

Solution for part 1 and part 2 of day 3 on Advent of Code. If you have any questions, feel free to ask in the comments.

## Chocolate Game | HackerRank Problem | C++ Solution

CPP solution for hackerrank problem Chocolate Game Description Laurel and Hardy have n piles of chocolates with each pile containing some number of chocolates. The piles are arranged from left to righ

## Mandragora Forest | HackerRank Problem | Java Solution

Solution for hackerrank problem Mandragora Forest in Java. The evil forest is guarded by vicious mandragoras. Garnet and her pet must make a journey through. She starts with pet health point s and 0 e

## Convert Binary Search Tree to Doubly Linked List | Java Solution

Program to convert a binary search tree to doubly linked list with in order traversal. The left and right pointers in nodes are to be used as previous and next pointers respectively in converted Circu

bytebot posted in #codingchallenge #cpp #matrix

## Spiral Print | matrix | C++ Solution

Spiral Print, is a matrix related problem and in this post we will see how we can solve this challenge in C++ Print the elements of a matrix in spiral form Please check the main.cpp snippet for the s

bytebot posted in #codingchallenge #cpp #matrix

## Search Matrix | matrix | C++ Solution

Search Matrix, is a matrix related problem and in this post we will see how we can solve this challenge in C++ search an element in a matrix of n X n. every row and column is sorted in increasing ord

bytebot posted in #codingchallenge #cpp #matrix

## Boolean Matrix Optimised | matrix | C++ Solution

Boolean Matrix Optimised, is a matrix related problem and in this post we will see how we can solve this challenge in C++ Given a boolean matrix mat M N of size M X N, modify it such that if a matrix

bytebot posted in #codingchallenge #cpp #matrix

## Boolean Matrix | matrix | C++ Solution

Boolean Matrix, is a matrix related problem and in this post we will see how we can solve this challenge in C++ Given a boolean matrix mat M N of size M X N, modify it such that if a matrix cell mat

bytebot posted in #codingchallenge #cpp

## Tries Creation | Tries | C++ Solution

Tries Creation, is a Tries related problem and in this post we will see how we can solve this challenge in C++ Please check the main.cpp snippet for the solution. This solution originally posted at G

bytebot posted in #codingchallenge #cpp #string

## Zigzag String | Strings | C++ Solution

Zigzag String, is a Strings related problem and in this post we will see how we can solve this challenge in C++ Zigzag StringBookmark Suggest Edit The string PAYPALISHIRING is written in a zigzag pat

bytebot posted in #codingchallenge #cpp #string

## Substring String | Strings | C++ Solution

Substring String, is a Strings related problem and in this post we will see how we can solve this challenge in C++ computer the LPS array if the characters match Please check the main.cpp snippet for

bytebot posted in #codingchallenge #cpp #string

## Roman To Number | Strings | C++ Solution

Roman To Number, is a Strings related problem and in this post we will see how we can solve this challenge in C++ Given a roman numeral, convert it to an integer. Input is guaranteed to be within the

bytebot posted in #codingchallenge #cpp #string

## Reverse Sentence | Strings | C++ Solution

Reverse Sentence, is a Strings related problem and in this post we will see how we can solve this challenge in C++ Given an input string, reverse the string word by word. Example Given s the sky is

bytebot posted in #codingchallenge #cpp #string

## Rabin Karp | Strings | C++ Solution

Rabin Karp, is a Strings related problem and in this post we will see how we can solve this challenge in C++ Rabin Karp algo for pattern matching worst case O nm when all the hash values are same as

bytebot posted in #codingchallenge #cpp #string

## Min Op For Palindrome | Strings | C++ Solution

Min Op For Palindrome, is a Strings related problem and in this post we will see how we can solve this challenge in C++ Minimum Characters required to make a String PalindromicBookmark Suggest Edit P

bytebot posted in #codingchallenge #cpp #string

## Length Last Wrod | Strings | C++ Solution

Length Last Wrod, is a Strings related problem and in this post we will see how we can solve this challenge in C++ Given a string s consists of upper lower case alphabets and empty space characters ,

bytebot posted in #codingchallenge #cpp #string

## KMP | Strings | C++ Solution

KMP, is a Strings related problem and in this post we will see how we can solve this challenge in C++ Please check the main.cpp snippet for the solution. This solution originally posted at Github by

bytebot posted in #codingchallenge #cpp #string

## Count Say | Strings | C++ Solution

Count Say, is a Strings related problem and in this post we will see how we can solve this challenge in C++ The count and say sequence is the sequence of integers beginning as follows 1, 11, 21, 1211

bytebot posted in #codingchallenge #cpp #string

## Common Prefix | Strings | C++ Solution

Common Prefix, is a Strings related problem and in this post we will see how we can solve this challenge in C++ Write a function to find the longest common prefix string amongst an array of strings.