# Post Only Coding Problems & Solutions Here | All Coding Guru's Dig In

**URL:** <https://onehack.st/t/post-only-coding-problems-solutions-here-all-coding-gurus-dig-in/60680>\
**Category:** Discussion & Solutions\
**Tags:** business\
**Created:** [October 20, 2019, 9:23am UTC](https://onehack.st/t/post-only-coding-problems-solutions-here-all-coding-gurus-dig-in/60680 "2019-10-20T09:23:31Z")\
**Posts on this page:** 10\
**Page:** 5

<div class="post-metadata">

**Author:** ![Instant\_Hub](https://onehack.st/user_avatar/onehack.st/instant_hub/32/26077_2.png) [@Instant\_Hub](https://onehack.st/u/Instant_Hub)\
**Post date:** [November 22, 2019, 12:06pm UTC](https://onehack.st/t/post-only-coding-problems-solutions-here-all-coding-gurus-dig-in/60680/91 "2019-11-22T12:06:15Z")

</div>

Hello.I am facing a problem in css i have a folder named coding in it there are html and css files i also have an background image as

body {  
background-image: url(background.jpg);  
}

when i try to link it to css and load my browser it doesn’t showup .

---

<div class="post-metadata">

**Author:** ![Darklooter](https://onehack.st/user_avatar/onehack.st/darklooter/32/1882_2.png) [@Darklooter](https://onehack.st/u/Darklooter)\
**Post date:** [November 23, 2019, 2:59pm UTC](https://onehack.st/t/post-only-coding-problems-solutions-here-all-coding-gurus-dig-in/60680/92 "2019-11-23T14:59:56Z")

</div>

**PROBLEM 16**  
Permutation of a given string.

 ![image](https://onehack.st/uploads/default/original/3X/3/e/3ed949537823d15dd1ea9ece6b1aa5e50e9ee868.png)

---

<div class="post-metadata">

**Author:** ![sam\_jick](https://onehack.st/user_avatar/onehack.st/sam_jick/32/18175_2.png) [@sam\_jick](https://onehack.st/u/sam_jick)\
**Post date:** [November 25, 2019, 6:23pm UTC](https://onehack.st/t/post-only-coding-problems-solutions-here-all-coding-gurus-dig-in/60680/93 "2019-11-25T18:23:05Z")

</div>

**PROBLEM 17** PLEASE ANYONE CAN EXPLAIN

Additive number is a string whose digits can form additive sequence.  
A valid additive sequence should contain at least three numbers. Except for the first two numbers, each subsequent number in the sequence must be the sum of the preceding two.  
Given a string containing only digits `'0'-'9'` , write a function to determine if it’s an additive number.

Note: Numbers in the additive sequence cannot have leading zeros, so sequence `1, 2, 03` or `1, 02, 3` is invalid.

**Example 1:**

Input: “112358” Output: true  
Explanation: The digits can form an additive sequence: 1, 1, 2, 3, 5, 8. 1 + 1 = 2, 1 + 2 = 3, 2 + 3 = 5, 3 + 5 = 8

**Example 2:**

**Input:** “199100199”  
**Output:** true  
**Explanation:** The additive sequence is: 1, 99, 100, 199. 1 + 99 = 100, 99 + 100 = 199

---

<div class="post-metadata">

**Author:** ![Darklooter](https://onehack.st/user_avatar/onehack.st/darklooter/32/1882_2.png) [@Darklooter](https://onehack.st/u/Darklooter)\
**Post date:** [November 27, 2019, 12:15am UTC](https://onehack.st/t/post-only-coding-problems-solutions-here-all-coding-gurus-dig-in/60680/94 "2019-11-27T00:15:32Z")

</div>

Scan the input string if it has 0 , return false.  
Then scan it if the input string is of length less than 5 return false.  
Else  
Check if  
Str[0]+str[1]+str[2]+str[3]==str[4]+str[5].  
in short ge is askng if the inpt is fibonacchi or not  
Look the pattern in formula above.let me know if you have any problems

---

<div class="post-metadata">

**Author:** ![JCKNIGHT](https://onehack.st/user_avatar/onehack.st/jcknight/32/18176_2.png) [@JCKNIGHT](https://onehack.st/u/JCKNIGHT)\
**Post date:** [November 27, 2019, 7:47pm UTC](https://onehack.st/t/post-only-coding-problems-solutions-here-all-coding-gurus-dig-in/60680/95 "2019-11-27T19:47:20Z")

</div>

Hey everyone,  
I’ve created an POS Management System for a store where multiple users can be able to conduct sales or make manipulations to the Inventory. I would want to create a function that keeps a track of what actions a user does while logged in for the owner to know.

Please help been stuck for days !

---

<div class="post-metadata">

**Author:** ![Darklooter](https://onehack.st/user_avatar/onehack.st/darklooter/32/1882_2.png) [@Darklooter](https://onehack.st/u/Darklooter)\
**Post date:** [November 28, 2019, 11:22am UTC](https://onehack.st/t/post-only-coding-problems-solutions-here-all-coding-gurus-dig-in/60680/96 "2019-11-28T11:22:16Z")

</div>

Every user who will use the system must be logged in through a unique login ID, now create a tracker such that every action that will be taken on the system the unique Id should get associated and stored into a log file.

---

<div class="post-metadata">

**Author:** ![JCKNIGHT](https://onehack.st/user_avatar/onehack.st/jcknight/32/18176_2.png) [@JCKNIGHT](https://onehack.st/u/JCKNIGHT)\
**Post date:** [November 30, 2019, 5:59am UTC](https://onehack.st/t/post-only-coding-problems-solutions-here-all-coding-gurus-dig-in/60680/98 "2019-11-30T05:59:02Z")

</div>

What I did instead is that with each action that is done by a user, the information is stored in an ArrayList which makes it possible to display the information to the owner of the store to view

---

<div class="post-metadata">

**Author:** ![JCKNIGHT](https://onehack.st/user_avatar/onehack.st/jcknight/32/18176_2.png) [@JCKNIGHT](https://onehack.st/u/JCKNIGHT)\
**Post date:** [February 23, 2020, 7:27pm UTC](https://onehack.st/t/post-only-coding-problems-solutions-here-all-coding-gurus-dig-in/60680/99 "2020-02-23T19:27:13Z")

</div>

Anyone still offering help ?  
Trying to solve a python algorithm For each query, output on a separate line, the coordinates of the result, separated by a single space.

 ![Screen Shot 2020-02-23 at 2.26.08 PM](https://onehack.st/uploads/default/original/3X/f/3/f31c7d566ff648ecf8d5e7910feb41509d868345.jpeg)

---

<div class="post-metadata">

**Author:** ![Be\_A\_Researcher](https://onehack.st/user_avatar/onehack.st/be_a_researcher/32/20732_2.png) [@Be\_A\_Researcher](https://onehack.st/u/Be_A_Researcher)\
**Post date:** [April 25, 2020, 12:24pm UTC](https://onehack.st/t/post-only-coding-problems-solutions-here-all-coding-gurus-dig-in/60680/100 "2020-04-25T12:24:04Z")

</div>

PROBLEM 18  
Create class Python which defines parameters with attributes n (name) and v (value) and defines or overloads some useful methods.

---

<div class="post-metadata">

**Author:** ![pppxjj9](https://onehack.st/letter_avatar_proxy/v4/letter/p/c67d28/32.png) [@pppxjj9](https://onehack.st/u/pppxjj9)\
**Post date:** [April 25, 2020, 11:14pm UTC](https://onehack.st/t/post-only-coding-problems-solutions-here-all-coding-gurus-dig-in/60680/103 "2020-04-25T23:14:13Z")

</div>

def micro(a, n, k):

```
miny = min(a)

if miny == k:

    return 0

else:

    i = 0

    while i < k:

        i += 1

    return i - miny

```

a = [2, 5, 5]

print(micro(a, 3, 2))

[Previous page](https://onehack.st/t/post-only-coding-problems-solutions-here-all-coding-gurus-dig-in/60680.md?page=4)
