Programming

Recommended Tags: Programming, Coding, Developer, Web Development. Just one is enough!


Word Frequency @Dcoder

4 Aug 2023 1 minute read 0 comments Lochard

Title: Word Frequency Problem: You will be given a group of words. You need to print all unique words in that group in descending order of their frequency, i.e the word repeated most number of times will come first. In case of two words having the sa...

Simple multiple problem @ Dcoder

3 Aug 2023 1 minute read 0 comments Lochard

Problem: You are given 2 numbers N and M. You have to find the smallest number which when multiplied to N makes it a multiple of M.   Input: First line contains T, number of test cases. Each of the next T lines contains two numbers, N and M. Output:...

Leetcode - 1089. Duplicate Zeros

1 Aug 2023 1 minute read 1 comment Lochard

Given a fixed-length integer array arr, duplicate each occurrence of zero, shifting the remaining elements to the right.   Note that elements beyond the length of the original array are not written. Do the above modifications to the input array in pl...

Symmetric Matrix @ Dcoder

1 Aug 2023 1 minute read 0 comments Lochard

Problem: Given a matrix of dimensions N x N. Print "YES"(without quotes) if it is a symmetric matrix, else print "NO"(without quotes).   Input: First line contains N. Each of following N lines contains N integers each, denoting the matrix.   Output:...

CryptoVision - When community is the main goal of a project

31 Jul 2023 2 minute read 1 comment babesugarbunny

The internet is full of different interesting projects that is too good to not be shared with others. So today I am going to tell you a bit about the CryptoVision project!CryptoVision (CVN) is a community focused project that wants to create a space...

Seamless Integration of Account Abstraction with TransactionKit

31 Jul 2023 1 minute read 0 comments Pillar

Web3 development has always been challenging, and the introduction of Account Abstraction (AA) has added a new layer of complexity. Despite it’s seeming difficult, the primary goal of Account Abstraction is quite simple: to enhance the Web3 user expe...

Sit on My (Hugging) Face and Tell Me That You Love Me

31 Jul 2023 5 minute read 0 comments Great White Snark

Since I got banned from using Night Café for feeding the generative AI prompts that resulted in adult/NSFW content (which would get blurred beyond all recognition), I've been using NeuralBlender. It works well enough, most of the time. However, it do...

Wrestling Championship @ Dcoder

31 Jul 2023 1 minute read 0 comments Lochard

Problem: Hulk is participating in a wrestling championship. The contest consists of N fighters including Hulk. The contest is of several stages. At each stage, if number of fighters are X, then there are X/2 fights and X/2 fighters move on to the nex...

Codewars Kata - How good are you really?

30 Jul 2023 1 minute read 0 comments Lochard

DESCRIPTION: There was a test in your class and you passed it. Congratulations! But you're an ambitious person. You want to know if you're better than the average student in your class.   You receive an array with your peers' test scores. Now calcula...

Codewars 7 kyu Kata - Mumbling

29 Jul 2023 1 minute read 0 comments Lochard

DESCRIPTION: This time no story, no theory. The examples below show you how to write function accum:   Examples: accum("abcd") -> "A-Bb-Ccc-Dddd" accum("RqaEzty") -> "R-Qq-Aaa-Eeee-Zzzzz-Tttttt-Yyyyyyy" accum("cwAt") -> "C-Ww-Aaa-Tttt" The paramete...